mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
df0e9fb363
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
21 lines
546 B
Plaintext
21 lines
546 B
Plaintext
Index: lib/GL/GL/Imakefile
|
|
===================================================================
|
|
RCS file: /cvs/xorg/xc/lib/GL/GL/Imakefile,v
|
|
retrieving revision 1.5
|
|
diff -u -r1.5 Imakefile
|
|
--- lib/GL/GL/Imakefile 23 Jul 2004 05:25:39 -0000 1.5
|
|
+++ lib/GL/GL/Imakefile 29 Dec 2004 20:51:25 -0000
|
|
@@ -209,8 +209,12 @@
|
|
POBJS = $(GLXPOBJS) $(DRIPOBJS) $(DRVPOBJS) $(DRMPOBJS)
|
|
|
|
#if LocalThreads
|
|
+#if NeedUIThrStubs
|
|
+ THREADOBJS = $(LDPRELIB) $(XTHRSTUBLIB)
|
|
+#else
|
|
THREADOBJS = $(THREADS_LIBS)
|
|
#endif
|
|
+#endif
|
|
|
|
#include <Library.tmpl>
|
|
|