aboutsummaryrefslogtreecommitdiff
path: root/audio/kdemultimedia11
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-20 02:05:07 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-20 02:05:07 +0000
commit421dbe26a2730fb982f9bbcbecff28de4d5f2e4a (patch)
tree5a19793e5be4fc9584da96c0107d75b8346a48a6 /audio/kdemultimedia11
parent4a561440b49dbfc4ca6d060835996f1fb16abcae (diff)
downloadports-421dbe26a2730fb982f9bbcbecff28de4d5f2e4a.tar.gz
ports-421dbe26a2730fb982f9bbcbecff28de4d5f2e4a.zip
byte_swap_{long,word} don't exist on FreeBSD/Alpha so accept the default
implementation.
Notes
Notes: svn path=/head/; revision=21802
Diffstat (limited to 'audio/kdemultimedia11')
-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