summaryrefslogtreecommitdiff
path: root/games/flightgear/files/patch-ab
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-01-22 13:58:58 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-01-22 13:58:58 +0000
commitc34b11a2c1f902a59005178510ce6099a0d8c935 (patch)
tree3058c91a943c2d0ceb754f5a64d263634d7a54dd /games/flightgear/files/patch-ab
parentLong awaited update to 1.1.18.0 (diff)
Take over maintainership (Brian says he's too busy flying real planes).
Update to 0.9.1. So much has changed since 0.6.1 that I've practically had to redo the port from scratch. It builds and installs fine now, but due to limited resources I haven't been able to actually run it.
Notes
Notes: svn path=/head/; revision=73781
Diffstat (limited to 'games/flightgear/files/patch-ab')
-rw-r--r--games/flightgear/files/patch-ab61
1 files changed, 36 insertions, 25 deletions
diff --git a/games/flightgear/files/patch-ab b/games/flightgear/files/patch-ab
index ad1bccc456fc..4f997f0911ad 100644
--- a/games/flightgear/files/patch-ab
+++ b/games/flightgear/files/patch-ab
@@ -1,32 +1,43 @@
---- Tools/Construct/Parallel/client.cxx.orig Fri May 21 13:18:06 1999
-+++ Tools/Construct/Parallel/client.cxx Sat Jun 26 22:32:01 1999
-@@ -20,6 +20,11 @@
+--- src/Main/Makefile.am.orig Wed Jan 22 14:33:49 2003
++++ src/Main/Makefile.am Wed Jan 22 14:33:57 2003
+@@ -19,7 +19,7 @@
+ THREAD_LIBS =
+ endif
- #include <Bucket/newbucket.hxx>
+-AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
++AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
-+/* the next lines are to define BSD */
-+/* see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html for why we do this */
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
+ EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in
- #define MAXBUF 1024
- #define BUSY_WAIT_TIME 30
-@@ -45,6 +50,9 @@
+--- src/Main/Makefile.in.orig Wed Jan 22 14:33:49 2003
++++ src/Main/Makefile.in Wed Jan 22 14:34:16 2003
+@@ -97,7 +97,7 @@
+ @WITH_THREADS_TRUE@THREAD_LIBS = -lsgthreads
+ @WITH_THREADS_FALSE@THREAD_LIBS =
- // check if the host system is free of interactive users
- int system_free() {
-+
-+#ifndef BSD
-+
- struct utmp *uptr;
+-AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
++AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
- setutent();
-@@ -61,6 +69,7 @@
- }
+ EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in
- endutent();
-+#endif
- return 1;
- }
+--- src/Main/fg_init.cxx.orig Wed Jan 22 14:33:49 2003
++++ src/Main/fg_init.cxx Wed Jan 22 14:34:27 2003
+@@ -264,7 +264,7 @@
+ #elif defined( macintosh )
+ root = "";
+ #else
+- root = PKGLIBDIR;
++ root = PKGDATADIR;
+ #endif
+ }
+--- configure.orig Thu Dec 5 16:31:39 2002
++++ configure Wed Jan 22 11:51:50 2003
+@@ -4206,6 +4206,7 @@
+ if test -r /usr/include/soundcard.h \
+ -o -r /usr/include/linux/soundcard.h \
+ -o -r /usr/include/machine/soundcard.h \
++ -o -r /usr/include/sys/soundcard.h \
+ -o -r /usr/include/audio.h \
+ -o "x$ac_cv_header_windows_h" = "xyes" \
+ -o "$HOSTTYPE" = "macintosh"; then