aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-05-23 10:47:04 +0800
committersobomax <sobomax@FreeBSD.org>2006-05-23 10:47:04 +0800
commitf63c075bda6f73ee23e9e296ba5e77cbbe8f14a5 (patch)
treeda8c99906ad2b7be714c22ad65f72e9d07f8f0cd /net/asterisk10/files
parentcfddcc56704a77560279930c05e8469214ddd0c2 (diff)
downloadfreebsd-ports-gnome-f63c075bda6f73ee23e9e296ba5e77cbbe8f14a5.tar.gz
freebsd-ports-gnome-f63c075bda6f73ee23e9e296ba5e77cbbe8f14a5.tar.zst
freebsd-ports-gnome-f63c075bda6f73ee23e9e296ba5e77cbbe8f14a5.zip
Fix on sparc64.
Submitted by: ahze
Diffstat (limited to 'net/asterisk10/files')
-rw-r--r--net/asterisk10/files/patch-channels::chan_skinny.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/asterisk10/files/patch-channels::chan_skinny.c b/net/asterisk10/files/patch-channels::chan_skinny.c
new file mode 100644
index 000000000000..acefb8f7222c
--- /dev/null
+++ b/net/asterisk10/files/patch-channels::chan_skinny.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- channels/chan_skinny.c.orig
++++ channels/chan_skinny.c
+@@ -99,7 +99,7 @@
+ #define htolel(x) (x)
+ #define htoles(x) (x)
+ #else
+-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
++#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__)
+ #define __bswap_16(x) \
+ ((((x) & 0xff00) >> 8) | \
+ (((x) & 0x00ff) << 8))