summaryrefslogtreecommitdiff
path: root/games/d2x/patches/patch-aa
blob: 225ffdfef33424938e265b5520fe8f86de9139cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;}