summaryrefslogtreecommitdiff
path: root/games/d2x/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/d2x/patches/patch-aa')
-rw-r--r--games/d2x/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/d2x/patches/patch-aa b/games/d2x/patches/patch-aa
new file mode 100644
index 00000000000..225ffdfef33
--- /dev/null
+++ b/games/d2x/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $
+
+--- configure.orig 2003-06-07 00:19:10.000000000 +0200
++++ configure 2003-11-04 19:12:24.000000000 +0100
+@@ -5183,6 +5183,9 @@
+ esac
+
+ case $host_os in
++ netbsd*)
++ # No, relying on __unix__ is not portable. Bad Practice(TM) detected.
++ CFLAGS="-D__unix__";;
+ cygwin)
+ { echo "$as_me:$LINENO: WARNING: Cygwin found, setting -mno-cygwin" >&5
+ echo "$as_me: WARNING: Cygwin found, setting -mno-cygwin" >&2;}