Package: widelands Version: build9-7 Tags: patch Widelands currently fails to build for mips/mipsel. The appended patch fixes this.
Thiemo --- widelands-build9.orig/src/machdep.h.old 2005-10-12 02:58:56.000000000 +0200 +++ widelands-build9/src/machdep.h 2005-10-12 03:02:21.000000000 +0200 @@ -28,7 +28,7 @@ #undef P_LITTLE_ENDIAN #define P_BIG_ENDIAN #undef P_ALIGNMENT -#elif defined (__sparc__) +#elif defined (__sparc__) || (defined (__mips__) && defined (_MIPSEB)) #undef P_LITTLE_ENDIAN #define P_BIG_ENDIAN #define P_ALIGNMENT @@ -36,6 +36,10 @@ #undef P_BIG_ENDIAN #define P_LITTLE_ENDIAN #undef P_ALIGNMENT +#elif (defined (__mips__) && defined (_MIPSEL)) +#undef P_BIG_ENDIAN +#define P_LITTLE_ENDIAN +#define P_ALIGNMENT #else #error architecture not supported #endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]