diff options
| author | Eric Anholt <anholt@FreeBSD.org> | 2004-12-31 09:02:27 +0000 |
|---|---|---|
| committer | Eric Anholt <anholt@FreeBSD.org> | 2004-12-31 09:02:27 +0000 |
| commit | df0e9fb3631b972a11189fa8a702afc67006f7d5 (patch) | |
| tree | 454cc6a3d751de979679efe6690f417db77f1fb7 /x11/xorg-libraries/files/patch-lib-Imakefile | |
| parent | Update to 2.2. (diff) | |
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
Diffstat (limited to 'x11/xorg-libraries/files/patch-lib-Imakefile')
| -rw-r--r-- | x11/xorg-libraries/files/patch-lib-Imakefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/xorg-libraries/files/patch-lib-Imakefile b/x11/xorg-libraries/files/patch-lib-Imakefile new file mode 100644 index 000000000000..9db3ac355f73 --- /dev/null +++ b/x11/xorg-libraries/files/patch-lib-Imakefile @@ -0,0 +1,22 @@ +--- 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) \ |
