freebsd-ports/x11/xorg-libraries/files/patch-X11-Imakefile
Eric Anholt df0e9fb363 Re-add libXThrStub for FreeBSD that requires thread stubs. Between 6.7 and 6.8
I had moved libXThrStub into libX11, because it seemed unnecessary.  However,
because libc_r symbols are also weak, the weak stubs in libX11 would interfere,
however they don't if they are in a library linked by libX11.  The most common
manifestation of the problem was:
GThread-ERROR **: file gthread-posix.c: line 137 (g_thread_impl_init): error
'Invalid argument' during 'pthread_getschedparam (pthread_self(), &policy,
&sched)'
in glib apps.

PR:		ports/75477
Submitted by:	KIMURA Yasuhiro, yasu at utahime dot org
Testing by:	marcus
2004-12-31 09:02:27 +00:00

12 lines
387 B
Text

--- lib/X11/Imakefile.orig Wed Dec 29 13:44:54 2004
+++ lib/X11/Imakefile Wed Dec 29 13:46:19 2004
@@ -126,8 +126,7 @@
K5INCL = Krb5Includes
K5DEFS = Krb5Defines
#endif
-#if (defined(FreeBSDArchitecture) && OSRelVersion < 500016) || \
- defined(OpenBSDArchitecture)
+#if (defined(OpenBSDArchitecture))
THRSTUBSRCS = UIThrStubs.c
THRSTUBOBJS = UIThrStubs.o
#endif