File netpbm-10.26.44-endian.patch of Package netpbm

--- converter/other/fiasco/config.h
+++ converter/other/fiasco/config.h
@@ -23,7 +23,15 @@
 
 /* Define if your processor stores words with the most significant
    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
-/* #undef WORDS_BIGENDIAN */
+
+
+/* since we don't have autoconf... */
+#include <endian.h>
+#if __BYTE_ORDER == __BIG_ENDIAN
+#define WORDS_BIGENDIAN 1
+#endif
+
+
 
 /* Define if the X Window System is missing or not being used.  */
 #define X_DISPLAY_MISSING 1
openSUSE Build Service is sponsored by