summaryrefslogtreecommitdiff
path: root/games/fgfs-base/files/patch-aa
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 20:26:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 20:26:50 +0000
commitdeef1edf2e8f63f59ebdaa6c0ecfaa7a4709cfa6 (patch)
tree3d6fa906569078376a3eed3c2c173e15cbda10c3 /games/fgfs-base/files/patch-aa
parent* Add rsyncd.conf.sample and rsyncd.sh.sample. (diff)
Use threads. Temporarily add an extra dependency on SimGear to make sure
we get a version that was compiled with thread support.
Notes
Notes: svn path=/head/; revision=76814
Diffstat (limited to '')
-rw-r--r--games/fgfs-base/files/patch-aa28
1 files changed, 27 insertions, 1 deletions
diff --git a/games/fgfs-base/files/patch-aa b/games/fgfs-base/files/patch-aa
index e799be858059..1a304ab52cb7 100644
--- a/games/fgfs-base/files/patch-aa
+++ b/games/fgfs-base/files/patch-aa
@@ -1,5 +1,5 @@
--- configure.orig Thu Dec 5 16:31:39 2002
-+++ configure Wed Jan 22 11:11:26 2003
++++ configure Mon Mar 3 13:00:03 2003
@@ -4206,6 +4206,7 @@
if test -r /usr/include/soundcard.h \
-o -r /usr/include/linux/soundcard.h \
@@ -8,3 +8,29 @@
-o -r /usr/include/audio.h \
-o "x$ac_cv_header_windows_h" = "xyes" \
-o "$HOSTTYPE" = "macintosh"; then
+@@ -5385,13 +5386,13 @@
+ base_LIBS="$LIBS"
+
+
+-echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for pthread_exit in -pthread" >&5
++echo $ECHO_N "checking for pthread_exit in -pthread... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -5439,7 +5440,7 @@
+ #define HAVE_LIBPTHREAD 1
+ _ACEOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-pthread $LIBS"
+
+ fi
+