I just added this patch to MandrakeLinux's xalan package.
-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
--- xml-xalan/c/src/Include/GCCDefinitions.hpp.orig     Mon Jul 16 14:34:47 2001
+++ xml-xalan/c/src/Include/GCCDefinitions.hpp  Mon Jul 16 14:36:10 2001
@@ -84,9 +84,9 @@
 
 
 // This will change, depending upon the target platform.
-#if defined(SOLARIS)
+#if defined(SOLARIS) || defined(powerpc) || defined(__sparc__)
 #define XALAN_BIG_ENDIAN
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__alpha__)
 #define XALAN_LITLE_ENDIAN
 #else
 #error XALAN_BIG_ENDIAN or XALAN_LITTLE_ENDIAN must be defined for this platform!

Reply via email to