diff options
Diffstat (limited to 'multimedia/kdemultimedia4/files/patch-kmidi_config_h')
-rw-r--r-- | multimedia/kdemultimedia4/files/patch-kmidi_config_h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/multimedia/kdemultimedia4/files/patch-kmidi_config_h b/multimedia/kdemultimedia4/files/patch-kmidi_config_h deleted file mode 100644 index fc82b4c0d9a1..000000000000 --- a/multimedia/kdemultimedia4/files/patch-kmidi_config_h +++ /dev/null @@ -1,36 +0,0 @@ ---- kmidi/config.h.orig Wed Dec 13 14:23:33 2000 -+++ kmidi/config.h Wed Dec 13 15:17:18 2000 -@@ -329,8 +329,14 @@ - #define LE_SHORT(x) x - #define LE_LONG(x) x - #ifdef __FreeBSD__ --#define BE_SHORT(x) __byte_swap_word(x) --#define BE_LONG(x) __byte_swap_long(x) -+# include <osreldate.h> -+# if __FreeBSD_version <= 500000 -+# define BE_SHORT(x) __byte_swap_word(x) -+# define BE_LONG(x) __byte_swap_long(x) -+# else -+# define BE_SHORT(x) __uint8_swap_uint16(x) -+# define BE_LONG(x) __uint8_swap_uint32(x) -+# endif - #else - #define BE_SHORT(x) XCHG_SHORT(x) - #define BE_LONG(x) XCHG_LONG(x) -@@ -339,8 +345,14 @@ - #define BE_SHORT(x) x - #define BE_LONG(x) x - #ifdef __FreeBSD__ --#define LE_SHORT(x) __byte_swap_word(x) --#define LE_LONG(x) __byte_swap_long(x) -+# include <osreldate.h> -+# if __FreeBSD_version <= 500000 -+# define LE_SHORT(x) __byte_swap_word(x) -+# define LE_LONG(x) __byte_swap_long(x) -+# else -+# define LE_SHORT(x) __uint8_swap_uint16(x) -+# define LE_LONG(x) __uint8_swap_uint32(x) -+# endif - #else - #define LE_SHORT(x) XCHG_SHORT(x) - #define LE_LONG(x) XCHG_LONG(x) |