diff options
Diffstat (limited to 'audio/kdemultimedia3')
-rw-r--r-- | audio/kdemultimedia3/files/patch-kmidi-config.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/kdemultimedia3/files/patch-kmidi-config.h b/audio/kdemultimedia3/files/patch-kmidi-config.h index 43afe77fd9ea..48e97bf33acb 100644 --- a/audio/kdemultimedia3/files/patch-kmidi-config.h +++ b/audio/kdemultimedia3/files/patch-kmidi-config.h @@ -1,8 +1,16 @@ ---- ./kmidi/config.h.old Sun Apr 28 23:33:03 2002 -+++ ./kmidi/config.h Sun Apr 28 23:33:55 2002 -@@ -264,8 +264,8 @@ +--- kmidi/config.h.orig Sun Oct 21 20:07:36 2001 ++++ kmidi/config.h Wed May 22 10:37:04 2002 +@@ -261,11 +261,16 @@ + /* And a better idea would be to attempt the various asm + optimizations ourselves IMO, but hey, this is free */ + #if __FreeBSD_version <= 500000 ++#if defined (__i386__) #define XCHG_SHORT(x) __byte_swap_word(x) #define XCHG_LONG(x) __byte_swap_long(x) ++#else ++ #define XCHG_SHORT(x) htons(x) ++ #define XCHG_LONG(x) htonl(x) ++#endif #else - #define XCHG_SHORT(x) __uint8_swap_uint16(x) - #define XCHG_LONG(x) __uint8_swap_uint32(x) |