Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 20 years ago
parent
commit
07c76478ae
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      package/jsaw/libmusicbrainz/linux-asm-byteorder_h.patch

+ 22
- 0
package/jsaw/libmusicbrainz/linux-asm-byteorder_h.patch

@ -0,0 +1,22 @@
--- libmusicbrainz-2.1.1/osdep/mb_linux.h 2004-01-11 09:26:16.000000000 +0000
+++ libmusicbrainz-2.1.1-p/osdep/mb_linux.h 2004-10-25 01:08:13.963851208 +0000
@@ -33,6 +33,19 @@
// Linux CD-audio declarations
//
+
+#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>
typedef char* MUSICBRAINZ_DEVICE;

Loading…
Cancel
Save