diff options
Diffstat (limited to 'games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch')
-rw-r--r-- | games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch | 11 |
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; |