summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/patches/patch-cg
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/patches/patch-cg')
-rw-r--r--emulators/wine-devel/patches/patch-cg22
1 files changed, 12 insertions, 10 deletions
diff --git a/emulators/wine-devel/patches/patch-cg b/emulators/wine-devel/patches/patch-cg
index e8c2a029184..d58026531c3 100644
--- a/emulators/wine-devel/patches/patch-cg
+++ b/emulators/wine-devel/patches/patch-cg
@@ -1,12 +1,14 @@
-$NetBSD: patch-cg,v 1.1 2009/09/07 20:27:25 reinoud Exp $
+$NetBSD: patch-cg,v 1.2 2011/05/02 21:23:01 adam Exp $
---- dlls/ws2_32/tests/sock.c.orig 2009-02-27 23:21:46.000000000 +0100
-+++ dlls/ws2_32/tests/sock.c
-@@ -22,6 +22,7 @@
+--- dlls/ws2_32/socket.c.orig 2010-12-10 22:33:07.000000000 +0300
++++ dlls/ws2_32/socket.c 2010-12-22 02:33:54.000000000 +0300
+@@ -440,7 +440,9 @@
+ MAP_OPTION( AI_PASSIVE ),
+ MAP_OPTION( AI_CANONNAME ),
+ MAP_OPTION( AI_NUMERICHOST ),
++#if !defined(__NetBSD__)
+ MAP_OPTION( AI_ADDRCONFIG ),
++#endif
+ };
- #include <stdarg.h>
-
-+#include <winsock2.h>
- #include <windef.h>
- #include <winbase.h>
- #include <winsock2.h>
+ static const int ws_niflag_map[][2] =