summaryrefslogtreecommitdiff
path: root/devel/libpthread-stubs
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
commitf76d32b8e89fed7c0e459c1a7fe7a4b57661b01c (patch)
treead29e6808ff698f84e08dab8e047f0ae72838df9 /devel/libpthread-stubs
parent- Update x11-tookits/py-kde to 3.16.6 (diff)
Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.28/ . Officially, this is mostly a polishing release in preparation for GNOME 3.0 due in about a year. On the FreeBSD front, though, a lot went into this release. Major thanks goes to kwm and avl who did a lot of the porting work for this release. In particular, kwm brought in Evolution MAPI support for better Microsoft Exchange integration. Avl made sure that the new gobject introspection repository ports were nicely compartmentalized so that large dependencies aren't brought in wholesale. But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself) contributed to this release. Other major improvements include an updated HAL with better volume probing code, ufsid integration, and support for volume names containing spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord; an updated Gimp; and a preview of the new GNOME Shell project (thanks to Pawel Worach). The FreeBSD GNOME Team would like to that the following additional contributors to this release whose patches and testing really helped make it a success: Andrius Morkunas Dominique Goncalves Eric L. Chen J.R. Oldroyd Joseph S. Atkinson Li Pawel Worach Romain Tartière Thomas Vogt Yasuda Keisuke Rui Paulo Martin Wilke (and an extra shout out to miwi and pav for pointyhat runs) We would like to send this release out to Alexander Loginov (avl) in hopes that he feels better soon. PR: 136676 136967 138872 (obsolete with new epiphany-webkit) 139160 134737 139941 140097 140838 140929
Diffstat (limited to 'devel/libpthread-stubs')
-rw-r--r--devel/libpthread-stubs/Makefile1
-rw-r--r--devel/libpthread-stubs/files/patch-stubs.c28
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/libpthread-stubs/Makefile b/devel/libpthread-stubs/Makefile
index 9775387b1fd0..95a0b70ae139 100644
--- a/devel/libpthread-stubs/Makefile
+++ b/devel/libpthread-stubs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libpthread-stubs
PORTVERSION= 0.3
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://xcb.freedesktop.org/dist/
diff --git a/devel/libpthread-stubs/files/patch-stubs.c b/devel/libpthread-stubs/files/patch-stubs.c
new file mode 100644
index 000000000000..4290eb2e6987
--- /dev/null
+++ b/devel/libpthread-stubs/files/patch-stubs.c
@@ -0,0 +1,28 @@
+XXX This is a big hack as we cannot define pthread_condattr_{init,destroy}
+here, or we will conflict with the weak symbols in libthr. The way our linker
+works, the weak symbols will be resolved here, and pthread_condattr functions
+will not work even in threaded applications.
+
+I am working to get these symbols added to libc, but in the meantime, this
+is needed to avoid crashes in threaded applications which make use of
+pthread_condattr*.
+--- stubs.c.orig 2009-11-27 17:15:30.000000000 -0500
++++ stubs.c 2009-11-27 17:16:29.000000000 -0500
+@@ -91,7 +91,7 @@ int pthread_cond_destroy() __attribute__
+ # endif
+ #endif
+
+-#ifndef HAVE_PTHREAD_CONDATTR_INIT
++#if 0
+ #define NEED_ZERO_STUB
+ # ifdef SUPPORT_ATTRIBUTE_ALIAS
+ int pthread_condattr_init() __attribute__ ((weak, alias ("__pthread_zero_stub")));
+@@ -100,7 +100,7 @@ int pthread_condattr_init() __attribute_
+ # endif
+ #endif
+
+-#ifndef HAVE_PTHREAD_CONDATTR_DESTROY
++#if 0
+ #define NEED_ZERO_STUB
+ # ifdef SUPPORT_ATTRIBUTE_ALIAS
+ int pthread_condattr_destroy() __attribute__ ((weak, alias ("__pthread_zero_stub")));