diff --git a/package/rene/xmms/linux-asm-byteorder_h.patch b/package/rene/xmms/linux-asm-byteorder_h.patch new file mode 100644 index 000000000..061a80e60 --- /dev/null +++ b/package/rene/xmms/linux-asm-byteorder_h.patch @@ -0,0 +1,23 @@ +diff -dur xmms-1.2.10/Input/cdaudio/cdaudio.h xmms-1.2.10-p/Input/cdaudio/cdaudio.h +--- xmms-1.2.10/Input/cdaudio/cdaudio.h 2004-01-27 23:09:39.000000000 +0000 ++++ xmms-1.2.10-p/Input/cdaudio/cdaudio.h 2004-10-24 08:26:33.177559504 +0000 +@@ -57,6 +57,19 @@ + #endif + + #ifdef HAVE_LINUX_CDROM_H ++ ++#ifdef __CHECKER__ ++#define __bitwise __attribute__((bitwise)) ++#else ++#define __bitwise ++#endif ++#define __le16 __bitwise __u16 ++#define __be16 __bitwise __u16 ++#define __le32 __bitwise __u32 ++#define __be32 __bitwise __u32 ++#define __le64 __bitwise __u64 ++#define __be64 __bitwise __u64 ++ + #include + #elif defined HAVE_SYS_CDIO_H + #include