diff options
author | Will Andrews <will@FreeBSD.org> | 2002-04-04 11:49:12 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-04-04 11:49:12 +0000 |
commit | b597c9f4273d1f6607eb6280cc6dfdf52b8b27d9 (patch) | |
tree | 304999bb795c9a42cf13fefb3eedd9e6e05c64f2 /audio/kdemultimedia3 | |
parent | 20956f6c129a9bce344c264461dbc448e1924306 (diff) | |
download | ports-b597c9f4273d1f6607eb6280cc6dfdf52b8b27d9.tar.gz ports-b597c9f4273d1f6607eb6280cc6dfdf52b8b27d9.zip |
Notes
Diffstat (limited to 'audio/kdemultimedia3')
-rw-r--r-- | audio/kdemultimedia3/files/patch-kmidi::config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/kdemultimedia3/files/patch-kmidi::config.h b/audio/kdemultimedia3/files/patch-kmidi::config.h new file mode 100644 index 000000000000..c0b516c77c21 --- /dev/null +++ b/audio/kdemultimedia3/files/patch-kmidi::config.h @@ -0,0 +1,19 @@ +Apply a patch next. But this is not good solution, I think. I +--- kmidi/config.h.orig Thu Jun 7 03:55:40 2001 ++++ kmidi/config.h Mon Apr 1 20:53:28 2002 +@@ -263,9 +263,12 @@ + #if __FreeBSD_version <= 500000 + #define XCHG_SHORT(x) __byte_swap_word(x) + #define XCHG_LONG(x) __byte_swap_long(x) +- #else ++ #elif __FreeBSD_version <= 500031 + #define XCHG_SHORT(x) __uint8_swap_uint16(x) + #define XCHG_LONG(x) __uint8_swap_uint32(x) ++ #else ++ #define XCHG_SHORT(x) __bswap16(x) ++ #define XCHG_LONG(x) __bswap32(x) + #endif + #else + #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) + + |