diff options
author | alfred <alfred@FreeBSD.org> | 2002-04-29 07:53:39 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-04-29 07:53:39 +0000 |
commit | ea7981d7fba94a552cb32f5329fb2cdf9979abe7 (patch) | |
tree | b9956c53127b9f57ed796dedfc6ae41c0acdbc1b /multimedia/kdemultimedia3 | |
parent | 744b83cd0d8cca727f93a4bceb05d8a7b9fad250 (diff) | |
download | FreeBSD-ports-ea7981d7fba94a552cb32f5329fb2cdf9979abe7.zip FreeBSD-ports-ea7981d7fba94a552cb32f5329fb2cdf9979abe7.tar.gz |
use __bswap{16,32} instead of __uint8_swap_uint{16,32} (because the
functions no longer exist), this is probably wrong, it should be
using htons or equivelant, but i'd like to have this unbroken for
now on recent 5.x systems.
Diffstat (limited to 'multimedia/kdemultimedia3')
-rw-r--r-- | multimedia/kdemultimedia3/files/patch-kmidi-config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-kmidi-config.h b/multimedia/kdemultimedia3/files/patch-kmidi-config.h new file mode 100644 index 0000000..43afe77 --- /dev/null +++ b/multimedia/kdemultimedia3/files/patch-kmidi-config.h @@ -0,0 +1,13 @@ +--- ./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 @@ + #define XCHG_SHORT(x) __byte_swap_word(x) + #define XCHG_LONG(x) __byte_swap_long(x) + #else +- #define XCHG_SHORT(x) __uint8_swap_uint16(x) +- #define XCHG_LONG(x) __uint8_swap_uint32(x) ++ #define XCHG_SHORT(x) __bswap16(x) ++ #define XCHG_LONG(x) __bswap32(x) + #endif + #else + #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) |