Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 20 years ago
parent
commit
8efa5b33fc
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      package/rene/xmms/linux-asm-byteorder_h.patch

+ 23
- 0
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 <linux/cdrom.h>
#elif defined HAVE_SYS_CDIO_H
#include <sys/cdio.h>

Loading…
Cancel
Save