PKGBUILDs/extra/devil/00_endian_and_ILvoid_fixes.diff
2009-10-09 21:23:22 -05:00

17 lines
539 B
Diff

# Fixes FTBFS with GCC 4.2: '<anonymous>' has incomplete type
# Fixes FTBFS on big endian architectures.
Index: devil/src-IL/include/il_endian.h
===================================================================
--- devil.orig/src-IL/include/il_endian.h 2008-12-30 21:05:37.000000000 +0000
+++ devil/src-IL/include/il_endian.h 2008-12-30 21:08:10.000000000 +0000
@@ -17,7 +17,7 @@
#ifdef WORDS_BIGENDIAN //this is defined by ./configure
#ifndef __BIG_ENDIAN__
- #define __BIG_ENDIAN__
+ #define __BIG_ENDIAN__ 1
#endif
#endif