aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>2000-10-24 15:25:27 +0000
committerR. Imura <imura@FreeBSD.org>2000-10-24 15:25:27 +0000
commit519aae125ceff8822af2eba45f9c461646d669b4 (patch)
tree29a1e69c44df8681dfb92dc9816f6e5b1000c61b /audio
parent0e95fdac80c93fb11a54b60d186984dc69246f96 (diff)
downloadports-519aae125ceff8822af2eba45f9c461646d669b4.tar.gz
ports-519aae125ceff8822af2eba45f9c461646d669b4.zip
Fix compilation problem with -current for 9 days 19 hours.
Notes
Notes: svn path=/head/; revision=34185
Diffstat (limited to 'audio')
-rw-r--r--audio/kdemultimedia11/files/patch-aa29
1 files changed, 23 insertions, 6 deletions
diff --git a/audio/kdemultimedia11/files/patch-aa b/audio/kdemultimedia11/files/patch-aa
index a5d8f200a35c..c1703d2a769d 100644
--- a/audio/kdemultimedia11/files/patch-aa
+++ b/audio/kdemultimedia11/files/patch-aa
@@ -1,11 +1,28 @@
---- 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 @@
+--- kmidi/config.h.orig Mon Mar 29 21:24:38 1999
++++ kmidi/config.h Wed Oct 25 00:16:44 2000
+@@ -321,9 +321,9 @@
#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)
+-#define BE_SHORT(x) __byte_swap_word(x)
+-#define BE_LONG(x) __byte_swap_long(x)
++#if defined(__FreeBSD__) && defined(__i386__)
++#define BE_SHORT(x) NTOHS(x)
++#define BE_LONG(x) NTOHL(x)
#else
+ #define BE_SHORT(x) XCHG_SHORT(x)
+ #define BE_LONG(x) XCHG_LONG(x)
+@@ -331,9 +331,9 @@
+ #else
+ #define BE_SHORT(x) x
+ #define BE_LONG(x) x
+-#ifdef __FreeBSD__
+-#define LE_SHORT(x) __byte_swap_word(x)
+-#define LE_LONG(x) __byte_swap_long(x)
++#if defined(__FreeBSD__) && defined(__i386__)
++#define LE_SHORT(x) NTOHS(x)
++#define LE_LONG(x) NTOHL(x)
+ #else
+ #define LE_SHORT(x) XCHG_SHORT(x)
+ #define LE_LONG(x) XCHG_LONG(x)