summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-15 10:27:47 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-15 10:27:47 +0000
commitc6ffa8fb40c740d8181292a1e4784722bf9a1ee3 (patch)
tree2c115d216e02a495e83392fe032ed4eb698c963e /games-puzzle/tetrinet/files
parentstable x86, bug 205925 (diff)
downloadgentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.tar.gz
gentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.tar.bz2
gentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.zip
USE=-ipv6 compilation fix by Andrew Church, bug #203514
(Portage version: 2.1.4)
Diffstat (limited to 'games-puzzle/tetrinet/files')
-rw-r--r--games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch b/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch
new file mode 100644
index 000000000000..5b0cb82f75c0
--- /dev/null
+++ b/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch
@@ -0,0 +1,11 @@
+--- sockets.c
++++ sockets.c
+@@ -188,7 +188,7 @@
+ return -1;
+ }
+ if (ipbuf)
+- memcpy(retbuf, &sa.sin_addr, 4);
++ memcpy(ipbuf, &sa.sin_addr, 4);
+ #endif
+
+ return sock;