pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/uae Fix pthread detection.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33c94310a4d4
branches:  trunk
changeset: 511985:33c94310a4d4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 28 15:10:18 2006 +0000

description:
Fix pthread detection.

diffstat:

 emulators/uae/distinfo         |   4 ++--
 emulators/uae/patches/patch-ac |  26 ++++++++++++++++++++++----
 2 files changed, 24 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 1550476e3133 -r 33c94310a4d4 emulators/uae/distinfo
--- a/emulators/uae/distinfo    Fri Apr 28 14:58:32 2006 +0000
+++ b/emulators/uae/distinfo    Fri Apr 28 15:10:18 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.13 2005/10/14 22:15:49 kristerw Exp $
+$NetBSD: distinfo,v 1.14 2006/04/28 15:10:18 joerg Exp $
 
 SHA1 (uae-0.8.25.tar.gz) = 41b7a70cf672d3cc516bd3856a051459a95a6517
 RMD160 (uae-0.8.25.tar.gz) = 6990dc7aaf43c8bda0d7b86e6d0ae164209d1eb1
 Size (uae-0.8.25.tar.gz) = 970727 bytes
 SHA1 (patch-aa) = c185427ad9042e0e81ec4990c0ae4b5e6977a74e
 SHA1 (patch-ab) = 4dc5d66008a9c056c7a93f74d25c4778d4f1b6cb
-SHA1 (patch-ac) = 1176273248965a36a022399e83ab53cf0c065b9f
+SHA1 (patch-ac) = 94e15570fe9d8df48945be0e1f2a723826e2ceda
diff -r 1550476e3133 -r 33c94310a4d4 emulators/uae/patches/patch-ac
--- a/emulators/uae/patches/patch-ac    Fri Apr 28 14:58:32 2006 +0000
+++ b/emulators/uae/patches/patch-ac    Fri Apr 28 15:10:18 2006 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ac,v 1.9 2005/10/14 22:15:49 kristerw Exp $
+$NetBSD: patch-ac,v 1.10 2006/04/28 15:10:18 joerg Exp $
 
---- configure.orig     2005-08-12 20:14:06.000000000 +0200
-+++ configure  2005-08-12 20:14:58.000000000 +0200
-@@ -14385,16 +14385,16 @@
+--- configure.orig     2005-07-01 13:00:17.000000000 +0000
++++ configure
+@@ -12767,7 +12767,7 @@ echo "$as_me:$LINENO: checking for pthre
+ echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
+ TMP_SAVE_CFLAGS=$CFLAGS
+ TMP_SAVE_LIBS=$LIBS
+-LIBS="$LIBS -lpthread"
++LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -14385,16 +14385,16 @@ else if [ "x$WANT_ALSA" = "xyes" ]; then
  echo "${ECHO_T}ALSA" >&6
    SOUNDDEP=sd-alsa
    USE_SOUND=yes
@@ -24,3 +33,12 @@
  else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
    echo "$as_me:$LINENO: result: AF sound" >&5
  echo "${ECHO_T}AF sound" >&6
+@@ -14466,7 +14466,7 @@ if [ "x$USE_THREADS" = "xyes" -o "x$NEED
+   else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
+     THREADDEP=td-posix
+     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
+-    LIBS="$LIBS -lpthread"
++    LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+     if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
+       LIBS="$LIBS -lposix4"
+     fi



Home | Main Index | Thread Index | Old Index