summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-10 16:53:57 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-10 16:53:57 +0000
commitf7bfac86f9fa61afe0636157b1a17b239a0bbab9 (patch)
tree331ce9733a2f82d1f19ed2a819fb962e16001c9c /graphics
parent1a6c8462ac5ca8dd186d09bb051ebd57cda3fbcb (diff)
downloadpkgsrc-f7bfac86f9fa61afe0636157b1a17b239a0bbab9.tar.gz
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 (limited to 'graphics')
-rw-r--r--graphics/libgii/distinfo4
-rw-r--r--graphics/libgii/patches/patch-ae13
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/libgii/distinfo b/graphics/libgii/distinfo
index 60f52ecf07f..e3c5c9020be 100644
--- a/graphics/libgii/distinfo
+++ b/graphics/libgii/distinfo
@@ -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 --git a/graphics/libgii/patches/patch-ae b/graphics/libgii/patches/patch-ae
index 025259df896..0cae790a6d8 100644
--- a/graphics/libgii/patches/patch-ae
+++ b/graphics/libgii/patches/patch-ae
@@ -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