diff options
author | sobomax <sobomax@FreeBSD.org> | 2007-04-16 15:11:45 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2007-04-16 15:11:45 +0800 |
commit | 66cb676262a22150d8864249b25af074598bfd65 (patch) | |
tree | 3e7e2b817341dae23f8f92326d634d6a38939688 /net | |
parent | 33e3be85bac8be8d3c710a4108d7a4d4e81aa363 (diff) | |
download | freebsd-ports-gnome-66cb676262a22150d8864249b25af074598bfd65.tar.gz freebsd-ports-gnome-66cb676262a22150d8864249b25af074598bfd65.tar.zst freebsd-ports-gnome-66cb676262a22150d8864249b25af074598bfd65.zip |
Fix breagake due to recent BIND9 changes to resolver.
Diffstat (limited to 'net')
-rw-r--r-- | net/openpbx.org/files/patch-corelib::utils.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/openpbx.org/files/patch-corelib::utils.c b/net/openpbx.org/files/patch-corelib::utils.c new file mode 100644 index 000000000000..afe27a3b6574 --- /dev/null +++ b/net/openpbx.org/files/patch-corelib::utils.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- corelib/utils.c ++++ corelib/utils.c +@@ -61,7 +61,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 |