aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-07-24 16:25:46 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-07-24 16:25:46 +0000
commitd67251b58422cbf785bc36564e51eab6d534de38 (patch)
tree77e3a038df716e6a96201f950144f29cedb0427b /net
parentd9d09279169a10ce66a3d9960ffeb3406646e251 (diff)
downloadports-d67251b58422cbf785bc36564e51eab6d534de38.tar.gz
ports-d67251b58422cbf785bc36564e51eab6d534de38.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/asterisk-bristuff/Makefile4
-rw-r--r--net/asterisk-bristuff/files/patch-channels-chan_skinny.c14
2 files changed, 14 insertions, 4 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile
index 38610fed79b5..8cbf6106ab9f 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 000000000000..043067a1ce6e
--- /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))