aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-20 10:05:07 +0800
committersteve <steve@FreeBSD.org>1999-09-20 10:05:07 +0800
commit289bfdd3edcf7781a9e80b7be4f50c94bb56b276 (patch)
treeadd087dc26ced53116326666aee2fa5695c0b974 /audio
parent40dba6bcb83233e0efc4620733496204acccae1b (diff)
downloadfreebsd-ports-gnome-289bfdd3edcf7781a9e80b7be4f50c94bb56b276.tar.gz
freebsd-ports-gnome-289bfdd3edcf7781a9e80b7be4f50c94bb56b276.tar.zst
freebsd-ports-gnome-289bfdd3edcf7781a9e80b7be4f50c94bb56b276.zip
byte_swap_{long,word} don't exist on FreeBSD/Alpha so accept the default
implementation.
Diffstat (limited to 'audio')
-rw-r--r--audio/kdemultimedia11/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/kdemultimedia11/files/patch-aa b/audio/kdemultimedia11/files/patch-aa
new file mode 100644
index 000000000000..a5d8f200a35c
--- /dev/null
+++ b/audio/kdemultimedia11/files/patch-aa
@@ -0,0 +1,11 @@
+--- kmidi/config.h.orig Sat Sep 18 16:36:13 1999
++++ kmidi/config.h Sat Sep 18 16:36:49 1999
+@@ -321,7 +321,7 @@
+ #ifdef LITTLE_ENDIAN
+ #define LE_SHORT(x) x
+ #define LE_LONG(x) x
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(__alpha__)
+ #define BE_SHORT(x) __byte_swap_word(x)
+ #define BE_LONG(x) __byte_swap_long(x)
+ #else