[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alpha Processor Inc. wants to help us



On Wed, 30 Jun 1999, Joel Klecker wrote:

> I don't understand, what makes alpha different WRT thread-safe X 
> libs? The patch for older xfree included with linuxthreads certainly 
> doesn't seem to be arch-dependant, and I had understood it was in the 
> xfree tree some time ago.

I just recompiled the XFree packages and came up with a solution as to how
to enable the generation of thread-safe X libs.  Whether or not the libs
will work properly, I can't tell at this moment (my video card is very
unstable running X).  Maybe someone can build it applying the patch below
and test it (*note* you have to run 'debian/rules patchapply' first since
it unpacks and patches the upstream tarball).

diff -ruN xfree86-1-3.3.3.1/build-tree/xc/config/cf/linux.cf xfree86-patched/build-tree/xc/config/cf/linux.cf
--- xfree86-1-3.3.3.1/build-tree/xc/config/cf/linux.cf	Wed Jun 30 12:00:32 1999
+++ xfree86-patched/build-tree/xc/config/cf/linux.cf	Wed Jun 30 11:58:30 1999
@@ -96,13 +96,11 @@
 				-D_POSIX_SOURCE -D_XOPEN_SOURCE=500L \
 				-D_BSD_SOURCE -D_SVID_SOURCE
 #define XawI18nDefines		-DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
-#if !defined(AlphaArchitecture)
 #define HasPosixThreads		YES
 #define ThreadedX		YES
 #define HasThreadSafeAPI	YES
 #define ThreadsLibraries	-lpthread
 #define SystemMTDefines		-D_REENTRANT
-#endif
 #ifndef HasLibCrypt
 #define HasLibCrypt		YES
 #endif


Reply to: