summaryrefslogtreecommitdiff
path: root/games/openttd/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/openttd/patches/patch-aa')
-rw-r--r--games/openttd/patches/patch-aa78
1 files changed, 0 insertions, 78 deletions
diff --git a/games/openttd/patches/patch-aa b/games/openttd/patches/patch-aa
deleted file mode 100644
index 8724295e8f0..00000000000
--- a/games/openttd/patches/patch-aa
+++ /dev/null
@@ -1,78 +0,0 @@
---- ./config.lib.orig 2008-08-02 02:52:22.000000000 +0300
-+++ ./config.lib 2008-08-05 13:34:05.000000000 +0300
-@@ -392,9 +392,9 @@
- exit 1
- fi
- # OS only allows DETECT, UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-- if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
-+ if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|OPENBSD|NETBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
- echo "configure: error: invalid option --os=$os"
-- echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
-+ echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|OPENBSD|NETBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
- exit 1
- fi
- # cpu_type can be either 32 or 64
-@@ -1003,6 +1003,10 @@
- LIBS="$LIBS -pthread"
- fi
-
-+ if [ "$os" = "NETBSD" ]; then
-+ LIBS="$LIBS -lpthread"
-+ fi
-+
- if [ "$os" = "FREEBSD" ]; then
- LIBS="$LIBS -lpthread"
- fi
-@@ -1019,7 +1023,7 @@
- fi
-
- # Most targets act like UNIX, just with some additions
-- if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "OPENBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
-+ if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "OPENBSD" ] || [ "$os" = "NETBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
- CFLAGS="$CFLAGS -DUNIX"
- fi
- # And others like Windows
-@@ -1542,7 +1546,7 @@
-
- detect_os() {
- if [ "$os" = "DETECT" ]; then
-- # Detect UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-+ # Detect UNIX, OSX, FREEBSD, OPENBSD, NETBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-
- # Try first via dumpmachine, then via uname
- os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
-@@ -1550,6 +1554,8 @@
- /darwin/ { print "OSX"; exit}
- /freebsd/ { print "FREEBSD"; exit}
- /openbsd/ { print "OPENBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
- /morphos/ { print "MORPHOS"; exit}
- /beos/ { print "BEOS"; exit}
- /sunos/ { print "SUNOS"; exit}
-@@ -1566,6 +1572,7 @@
- /linux/ { print "UNIX"; exit}
- /darwin/ { print "OSX"; exit}
- /freebsd/ { print "FREEBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
- /openbsd/ { print "OPENBSD"; exit}
- /morphos/ { print "MORPHOS"; exit}
- /beos/ { print "BEOS"; exit}
-@@ -1579,7 +1586,7 @@
- if [ -z "$os" ]; then
- log 1 "detecting OS... none detected"
- log 1 "I couldn't detect your OS. Please use --os=OS to force one"
-- log 1 "Allowed values are: UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
-+ log 1 "Allowed values are: UNIX, OSX, FREEBSD, OPENBSD, NETBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
- exit 1
- fi
-
-@@ -2320,7 +2327,7 @@
- echo " --awk=AWK the awk to use in configure [awk]"
- echo " --lipo=LIPO the lipo to use (OSX ONLY) [HOST-lipo]"
- echo " --os=OS the OS we are compiling for [DETECT]"
-- echo " DETECT/UNIX/OSX/FREEBSD/OPENBSD/MORPHOS/"
-+ echo " DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/MORPHOS/"
- echo " BEOS/SUNOS/CYGWIN/MINGW/OS2/WINCE/PSP"
- echo " --endian=ENDIAN set the endian of the HOST (AUTO/LE/BE)"
- echo " --revision=rXXXX overwrite the revision detection."