summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-03-31 19:41:21 +0000
committertron <tron@pkgsrc.org>2004-03-31 19:41:21 +0000
commit357ef5b72d1306d482c25241e2755ef482687a13 (patch)
tree00840a7fd7cc92e6a4a3e430d2fc94a8d2f26784 /devel
parent1f3a71d6ef86b1fc857ddf4426cf4c1b5384beb2 (diff)
downloadpkgsrc-357ef5b72d1306d482c25241e2755ef482687a13.tar.gz
Try "-pthreads" before "-pthread" to work arround a problem in the
"configure" script which otherwise picks "-pthreads" as the compiler option for POSIX's Threads. The real problem is probably that the buildlink3 framework passes "-pthread" as a compiler option to "configure" and therefore defeats the probes in the "configure" script. But that's hard to fix.
Diffstat (limited to 'devel')
-rw-r--r--devel/glib2/distinfo4
-rw-r--r--devel/glib2/patches/patch-aa15
2 files changed, 14 insertions, 5 deletions
diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo
index a3a8154fd03..af2ff1b2c06 100644
--- a/devel/glib2/distinfo
+++ b/devel/glib2/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.24 2004/01/07 07:33:54 xtraeme Exp $
+$NetBSD: distinfo,v 1.25 2004/03/31 19:41:21 tron Exp $
SHA1 (glib-2.2.3.tar.bz2) = 05580cbe110b94dd5020a07cf6d380190a2a13af
Size (glib-2.2.3.tar.bz2) = 1636987 bytes
-SHA1 (patch-aa) = 29ff7360a007d3d02cc3c28dce20e42ccf24bd5a
+SHA1 (patch-aa) = 62ef4cd4908314d843b99aa792d94b3865c439f2
SHA1 (patch-ab) = b951b1480eaa66074e311f347df2e1b137ec7089
SHA1 (patch-ac) = 1b94c567ac0086abfc927f5af1e657f14b091218
SHA1 (patch-ad) = 58739c123a640a66206c9afa8c28d81e3eb02986
diff --git a/devel/glib2/patches/patch-aa b/devel/glib2/patches/patch-aa
index 69e82555444..f54c9c179a5 100644
--- a/devel/glib2/patches/patch-aa
+++ b/devel/glib2/patches/patch-aa
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.9 2003/11/11 13:39:09 fvdl Exp $
+$NetBSD: patch-aa,v 1.10 2004/03/31 19:41:21 tron Exp $
--- configure.orig 2003-08-26 18:42:14.000000000 +0200
-+++ configure
-@@ -31199,7 +31199,7 @@ fi
++++ configure 2004-03-31 21:33:30.000000000 +0200
+@@ -28920,7 +28920,7 @@
+ # both CPPFLAG and LIBS.
+ # One of them does for most gcc versions and some other platforms/compilers
+ # too and could be considered as the canonical way to go.
+- for flag in pthread pthreads; do
++ for flag in pthreads pthread; do
+ glib_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -$flag"
+ if test "$cross_compiling" = yes; then
+@@ -31199,7 +31199,7 @@
# b) libtool doesn't recognize -pthread as a library dependency.
#
case $host in