summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2006-10-15 14:07:22 +0000
committerMart Raudsepp <leio@gentoo.org>2006-10-15 14:07:22 +0000
commita3352648858200824ea4659b5b60292346d3e596 (patch)
tree2d4cba3a520760163d116485e317df57dce80881 /dev-libs/glib/files/glib-2.12.4-tests_pthread.patch
parentMarked ~amd64. (diff)
downloadgentoo-2-a3352648858200824ea4659b5b60292346d3e596.tar.gz
gentoo-2-a3352648858200824ea4659b5b60292346d3e596.tar.bz2
gentoo-2-a3352648858200824ea4659b5b60292346d3e596.zip
Fix pthread related build failure on Gentoo/FreeBSD, bug #150583
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'dev-libs/glib/files/glib-2.12.4-tests_pthread.patch')
-rw-r--r--dev-libs/glib/files/glib-2.12.4-tests_pthread.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/glib/files/glib-2.12.4-tests_pthread.patch b/dev-libs/glib/files/glib-2.12.4-tests_pthread.patch
new file mode 100644
index 000000000000..3ed028fbf600
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.12.4-tests_pthread.patch
@@ -0,0 +1,30 @@
+Patch to fix build on Gentoo/FreeBSD
+http://bugzilla.gnome.org/show_bug.cgi?id=362328
+http://bugs.gentoo.org/show_bug.cgi?id=150583
+
+Fix will be included in upstream glib-2.12.5
+
+diff -ur glib-2.12.4.orig/tests/Makefile.am glib-2.12.4/tests/Makefile.am
+--- glib-2.12.4.orig/tests/Makefile.am 2006-05-16 02:47:23 -0300
++++ glib-2.12.4/tests/Makefile.am 2006-10-09 11:28:43 -0300
+@@ -55,7 +55,7 @@
+ testgdate_LDADD = $(libglib)
+ testgdateparser_LDADD = $(libglib)
+ unicode_normalize_LDADD = $(libglib)
+-errorcheck_mutex_test_LDADD = $(libglib) $(libgthread)
++errorcheck_mutex_test_LDADD = $(libglib) $(libgthread) $(G_THREAD_LIBS)
+ if ENABLE_TIMELOOP
+ timeloop_LDADD = $(libglib)
+ timeloop_closure_LDADD = $(libglib) $(libgobject)
+diff -ur glib-2.12.4.orig/tests/Makefile.in glib-2.12.4/tests/Makefile.in
+--- glib-2.12.4.orig/tests/Makefile.in 2006-10-09 11:25:51 -0300
++++ glib-2.12.4/tests/Makefile.in 2006-10-09 11:29:38 -0300
+@@ -278,7 +278,7 @@
+ testgdate_LDADD = $(libglib)
+ testgdateparser_LDADD = $(libglib)
+ unicode_normalize_LDADD = $(libglib)
+-errorcheck_mutex_test_LDADD = $(libglib) $(libgthread)
++errorcheck_mutex_test_LDADD = $(libglib) $(libgthread) $(G_THREAD_LIBS)
+ @ENABLE_TIMELOOP_TRUE@timeloop_LDADD = $(libglib)
+ @ENABLE_TIMELOOP_TRUE@timeloop_closure_LDADD = $(libglib) $(libgobject)
+