aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk16
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2007-01-30 02:49:10 +0800
committersobomax <sobomax@FreeBSD.org>2007-01-30 02:49:10 +0800
commita8ca249102a9e2e036e05586b54f634df5575561 (patch)
tree5101d8c3230dd34c3dcc153255a83dcb8e9a0e5a /net/asterisk16
parent773ce3e0c4cbb13aa71e1b3873f770cd16b0fcb6 (diff)
downloadfreebsd-ports-gnome-a8ca249102a9e2e036e05586b54f634df5575561.tar.gz
freebsd-ports-gnome-a8ca249102a9e2e036e05586b54f634df5575561.tar.zst
freebsd-ports-gnome-a8ca249102a9e2e036e05586b54f634df5575561.zip
Fix breagake due to recent BIND9 changes to resolver.
Diffstat (limited to 'net/asterisk16')
-rw-r--r--net/asterisk16/files/patch-utils.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/asterisk16/files/patch-utils.c b/net/asterisk16/files/patch-utils.c
new file mode 100644
index 000000000000..f6adec453f06
--- /dev/null
+++ b/net/asterisk16/files/patch-utils.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- utils.c
++++ utils.c
+@@ -58,7 +58,7 @@
+ static char base64[64];
+ static char b2a[256];
+
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
++#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
+
+ /* duh? ERANGE value copied from web... */
+ #define ERANGE 34