diff options
author | fjoe <fjoe@FreeBSD.org> | 2006-07-24 16:25:46 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2006-07-24 16:25:46 +0000 |
commit | b1a72bb591050efb30f692983ab090c98e3786b0 (patch) | |
tree | 0e73fc64783194771374734f88be62b4f9686fe3 | |
parent | 394f3c28165564e06448575c6aa9bdf72eca6e7c (diff) | |
download | FreeBSD-ports-b1a72bb591050efb30f692983ab090c98e3786b0.zip FreeBSD-ports-b1a72bb591050efb30f692983ab090c98e3786b0.tar.gz |
Fix build on sparc64 (and any other big-endian arch).
Bump PORTREVISION.
Obtained from: net/asterisk port
-rw-r--r-- | net/asterisk-bristuff/Makefile | 4 | ||||
-rw-r--r-- | net/asterisk-bristuff/files/patch-channels-chan_skinny.c | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile index 38610fe..8cbf610 100644 --- a/net/asterisk-bristuff/Makefile +++ b/net/asterisk-bristuff/Makefile @@ -47,10 +47,6 @@ MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8 .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= does not compile on ${ARCH} -.endif - .if ${ARCH} != "i386" WITHOUT_H323= 1 WITHOUT_ZAPTEL= 1 diff --git a/net/asterisk-bristuff/files/patch-channels-chan_skinny.c b/net/asterisk-bristuff/files/patch-channels-chan_skinny.c new file mode 100644 index 0000000..043067a --- /dev/null +++ b/net/asterisk-bristuff/files/patch-channels-chan_skinny.c @@ -0,0 +1,14 @@ + +$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-channels-chan_skinny.c,v 1.1 2006-07-24 16:25:46 fjoe Exp $ + +--- 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)) |