From: Frans Meulenbroeks Date: Sun, 8 Mar 2009 12:40:40 +0000 (+0100) Subject: cdrkit: updated for LE cross compilation X-Git-Tag: Release-2010-05/1~3832^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45cf18b90d4a0a7802bc1fffadc4f5a42cbc9233;p=openembedded.git cdrkit: updated for LE cross compilation --- diff --git a/packages/cdrkit/files/xconfig.patch b/packages/cdrkit/files/xconfig.patch new file mode 100644 index 0000000000..5af1a373b9 --- /dev/null +++ b/packages/cdrkit/files/xconfig.patch @@ -0,0 +1,15 @@ +--- cdrkit-1.1.9/include/xconfig.h.in.orig 2006-12-02 12:10:05.000000000 +0100 ++++ cdrkit-1.1.9/include/xconfig.h.in 2009-03-08 13:29:05.000000000 +0100 +@@ -233,7 +233,11 @@ + /* If using network byte order */ + #cmakedefine WORDS_BIGENDIAN + /* If high bits come first in structures */ +-#cmakedefine BITFIELDS_HTOL ++#ifdef WORDS_BIGENDIAN ++#define BITFIELDS_HTOL ++#else ++#define BITFIELDS_LTOH ++#endif + #define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ + #define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ +