diff options
Diffstat (limited to 'x11/xorg-libraries/files')
| -rw-r--r-- | x11/xorg-libraries/files/XThrStub-Imakefile | 35 | ||||
| -rw-r--r-- | x11/xorg-libraries/files/patch-GL-GL-Imakefile | 20 | ||||
| -rw-r--r-- | x11/xorg-libraries/files/patch-X11-Imakefile | 12 | ||||
| -rw-r--r-- | x11/xorg-libraries/files/patch-lib-Imakefile | 22 |
4 files changed, 89 insertions, 0 deletions
diff --git a/x11/xorg-libraries/files/XThrStub-Imakefile b/x11/xorg-libraries/files/XThrStub-Imakefile new file mode 100644 index 000000000000..83e850325c9a --- /dev/null +++ b/x11/xorg-libraries/files/XThrStub-Imakefile @@ -0,0 +1,35 @@ +#define DoNormalLib NormalLibXThrStub +#define DoSharedLib SharedLibXThrStub +#define DoExtraLib SharedLibXThrStub +#define DoDebugLib DebugLibXThrStub +#define DoProfileLib ProfileLibXThrStub +#define LibName XThrStub +#define SoRev SOXTHRSTUBREV +#define LibHeaders NO + +#include <Threads.tmpl> + +#ifdef SharedXThrStubReqs +REQUIREDLIBS = SharedXThrStubReqs +#endif + +#if NeedUIThrStubs +STUBSRCS = UIThrStubs.c +STUBOBJS = UIThrStubs.o +#endif + +#if Malloc0ReturnsNull +ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif + + DEFINES = $(ALLOC_DEFINES) + INCLUDES = + SRCS = $(STUBSRCS) + OBJS = $(STUBOBJS) + LINTLIBS = $(LINTXLIB) + +#include <Library.tmpl> + +DependTarget() + +LinkSourceFile(UIThrStubs.c,$(XTOP)/lib/X11) diff --git a/x11/xorg-libraries/files/patch-GL-GL-Imakefile b/x11/xorg-libraries/files/patch-GL-GL-Imakefile new file mode 100644 index 000000000000..69f1eb2c40d7 --- /dev/null +++ b/x11/xorg-libraries/files/patch-GL-GL-Imakefile @@ -0,0 +1,20 @@ +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> + diff --git a/x11/xorg-libraries/files/patch-X11-Imakefile b/x11/xorg-libraries/files/patch-X11-Imakefile new file mode 100644 index 000000000000..f8bba66d39ed --- /dev/null +++ b/x11/xorg-libraries/files/patch-X11-Imakefile @@ -0,0 +1,12 @@ +--- 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 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) \ |
