pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libgii Reorder thread library detection. On F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/462013e3f7cd
branches:  trunk
changeset: 500574:462013e3f7cd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 16:53:57 2005 +0000

description:
Reorder thread library detection. On FreeBSD 4 and DragonFly 1.2 gcc
links against -lc_r only when -pthread is used, otherwise both -lc_r and
-lc gets linked in.

diffstat:

 graphics/libgii/distinfo         |   4 ++--
 graphics/libgii/patches/patch-ae |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r e4575a4ec5be -r 462013e3f7cd graphics/libgii/distinfo
--- a/graphics/libgii/distinfo  Mon Oct 10 16:49:20 2005 +0000
+++ b/graphics/libgii/distinfo  Mon Oct 10 16:53:57 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.12 2005/04/18 15:53:35 wiz Exp $
+$NetBSD: distinfo,v 1.13 2005/10/10 16:53:57 joerg Exp $
 
 SHA1 (libgii-0.9.1.src.tar.bz2) = 5317a3a4024a6a3c50dc3a854f0cf0ef64dcfd54
 RMD160 (libgii-0.9.1.src.tar.bz2) = 4a82881bff5e77d9d7ee53296a69a74386bf2f91
 Size (libgii-0.9.1.src.tar.bz2) = 506921 bytes
 SHA1 (patch-aa) = 3dd014586dc16b95125336539d74b6040bd9eb0a
-SHA1 (patch-ae) = e6396eb643c89dc24a3b51109a5dc3264c12a30e
+SHA1 (patch-ae) = d7007d2df8de9b29372882d5f8fb782bade44157
 SHA1 (patch-af) = 44c23eb8fd16ccde9a942643e30625fc96ca2169
 SHA1 (patch-ag) = a223af4dd1aec691406d7bc295b3d002185de747
diff -r e4575a4ec5be -r 462013e3f7cd graphics/libgii/patches/patch-ae
--- a/graphics/libgii/patches/patch-ae  Mon Oct 10 16:49:20 2005 +0000
+++ b/graphics/libgii/patches/patch-ae  Mon Oct 10 16:53:57 2005 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ae,v 1.5 2005/03/25 02:46:49 wiz Exp $
+$NetBSD: patch-ae,v 1.6 2005/10/10 16:53:57 joerg Exp $
 
 --- configure.orig     2004-11-30 21:56:28.000000000 +0100
 +++ configure
-@@ -20024,7 +20024,7 @@ _ACEOF
+@@ -17879,7 +17879,7 @@ if test "$ac_cv_header_pthread_h" = "yes
+       TMP_SAVE_CC=$CC
+       CC="$SHELL ./libtool $CC"
+ 
+-      for pthreadlib in -lpthread -lc_r -pthread; do
++      for pthreadlib in -lpthread -pthread -lc_r; do
+               echo "$as_me:$LINENO: checking for pthread_mutex_init with $pthreadlib" >&5
+ echo $ECHO_N "checking for pthread_mutex_init with $pthreadlib... $ECHO_C" >&6
+               LIBS="$TMP_SAVE_LIBS $pthreadlib"
+@@ -20041,7 +20041,7 @@ _ACEOF
  
  
  cat >>confdefs.h <<_ACEOF



Home | Main Index | Thread Index | Old Index