diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-06-19 10:12:14 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-06-19 10:12:14 +0000 |
commit | 2d8f23f015a8cac4f7cd30d2812421b6530ee091 (patch) | |
tree | 54a0b72f3851090eeed8c5cc685637d9ad4adfe3 | |
parent | update to 8.01 (20050615). (diff) |
Fix build when libbind is present.
PR: ports/82024
Submitted by: Edwin Culp <eculp@bafirst.com>
Notes
Notes:
svn path=/head/; revision=137719
-rw-r--r-- | lang/php5/files/patch-ext_standard_dns.h | 13 | ||||
-rw-r--r-- | lang/php53/files/patch-ext_standard_dns.h | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/lang/php5/files/patch-ext_standard_dns.h b/lang/php5/files/patch-ext_standard_dns.h new file mode 100644 index 000000000000..1ea8751970c8 --- /dev/null +++ b/lang/php5/files/patch-ext_standard_dns.h @@ -0,0 +1,13 @@ +--- ext/standard/dns.h.orig Sun Jun 19 11:57:31 2005 ++++ ext/standard/dns.h Sun Jun 19 12:03:37 2005 +@@ -25,6 +25,10 @@ + + #if HAVE_RES_NMKQUERY && HAVE_RES_NSEND && HAVE_DN_EXPAND && HAVE_DN_SKIPNAME + #define HAVE_DNS_FUNCS 1 ++#define res_ninit __res_ninit ++#define res_nmkquery __res_nmkquery ++#define res_nsend __res_nsend ++#define res_nclose __res_nclose + #endif + + PHP_FUNCTION(gethostbyaddr); diff --git a/lang/php53/files/patch-ext_standard_dns.h b/lang/php53/files/patch-ext_standard_dns.h new file mode 100644 index 000000000000..1ea8751970c8 --- /dev/null +++ b/lang/php53/files/patch-ext_standard_dns.h @@ -0,0 +1,13 @@ +--- ext/standard/dns.h.orig Sun Jun 19 11:57:31 2005 ++++ ext/standard/dns.h Sun Jun 19 12:03:37 2005 +@@ -25,6 +25,10 @@ + + #if HAVE_RES_NMKQUERY && HAVE_RES_NSEND && HAVE_DN_EXPAND && HAVE_DN_SKIPNAME + #define HAVE_DNS_FUNCS 1 ++#define res_ninit __res_ninit ++#define res_nmkquery __res_nmkquery ++#define res_nsend __res_nsend ++#define res_nclose __res_nclose + #endif + + PHP_FUNCTION(gethostbyaddr); |