summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/SDL/patches/patch-ab')
-rw-r--r--devel/SDL/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/SDL/patches/patch-ab b/devel/SDL/patches/patch-ab
new file mode 100644
index 00000000000..38e0cee969f
--- /dev/null
+++ b/devel/SDL/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2002/11/06 19:02:56 atatat Exp $
+
+We are similar enough to OpenBSD to use this, especially since it
+makes the graphics/avifile-devel pkg build again.
+
+--- include/SDL_syswm.h.orig Sun Aug 25 02:21:49 2002
++++ include/SDL_syswm.h Mon Nov 4 13:00:07 2002
+@@ -49,7 +49,7 @@
+ #else
+
+ /* This is the structure for custom window manager events */
+-#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
++#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__) || defined(__NetBSD__)) && \
+ (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX))
+ /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
+ #include <X11/Xlib.h>