mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +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
23 lines
669 B
Plaintext
23 lines
669 B
Plaintext
--- lib/Imakefile.orig Wed Sep 1 18:10:28 2004
|
|
+++ lib/Imakefile Wed Dec 29 13:43:31 2004
|
|
@@ -36,6 +36,10 @@
|
|
XKBUILIBDIR = xkbui
|
|
#endif
|
|
|
|
+#if BuildThreadStubLibrary && BuildLibraries
|
|
+THRSTUBLIBDIR = XThrStub
|
|
+#endif
|
|
+
|
|
#if BuildXInputLib
|
|
XINPUTLIBDIR = Xi
|
|
#endif
|
|
@@ -223,7 +227,7 @@
|
|
#endif
|
|
|
|
|
|
-LINTSUBDIRS = $(XAULIBDIR) $(XDMCPLIBDIR) $(X11LIBDIR) \
|
|
+LINTSUBDIRS = $(XAULIBDIR) $(XDMCPLIBDIR) $(THRSTUBLIBDIR) $(X11LIBDIR) \
|
|
$(OLDXLIBDIR) $(ICELIBDIR) $(SMLIBDIR) $(XEXTLIBDIR) $(XTLIBDIR) \
|
|
$(SSLIBDIR) $(XF86MISCLIBDIR) $(XF86VMLIBDIR) $(XF86DGALIBDIR) \
|
|
$(XF86RUSHLIBDIR) $(XMULIBDIR) $(XMUULIBDIR) $(XPMLIBDIR) \
|