aboutsummaryrefslogtreecommitdiff
path: root/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/warzone2100/files/patch-lib-netplay-netsocket.cpp')
-rw-r--r--games/warzone2100/files/patch-lib-netplay-netsocket.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/warzone2100/files/patch-lib-netplay-netsocket.cpp b/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
new file mode 100644
index 000000000000..19659e55fc55
--- /dev/null
+++ b/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
@@ -0,0 +1,12 @@
+--- lib/netplay/netsocket.cpp.orig 2013-01-15 03:54:07.000000000 +0400
++++ lib/netplay/netsocket.cpp 2013-01-18 19:32:35.110932805 +0400
+@@ -1399,9 +1399,6 @@
+ hint.ai_family = AF_UNSPEC;
+ hint.ai_socktype = SOCK_STREAM;
+ hint.ai_protocol = 0;
+-#ifdef AI_V4MAPPED
+- flags |= AI_V4MAPPED;
+-#endif
+ #ifdef AI_ADDRCONFIG
+ flags |= AI_ADDRCONFIG;
+ #endif