aboutsummaryrefslogtreecommitdiffstats
path: root/package/php4/patches/php4_dns_skipname.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-04 17:03:18 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-04 17:03:18 +0000
commit122220eb0d327f8af95a13123a546f06c3b4cd51 (patch)
tree2e33a54dd8a3cdc4d35e3bed64c55ce5ee716d72 /package/php4/patches/php4_dns_skipname.patch
parentc376c6b4fa116f8329d7e0a0887750f724eec329 (diff)
downloadmaster-187ad058-122220eb0d327f8af95a13123a546f06c3b4cd51.tar.gz
master-187ad058-122220eb0d327f8af95a13123a546f06c3b4cd51.tar.bz2
master-187ad058-122220eb0d327f8af95a13123a546f06c3b4cd51.zip
Add php4 package (Thanks aorlinsk and enzo for the help)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1334 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/php4/patches/php4_dns_skipname.patch')
-rw-r--r--package/php4/patches/php4_dns_skipname.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/php4/patches/php4_dns_skipname.patch b/package/php4/patches/php4_dns_skipname.patch
new file mode 100644
index 0000000000..6df37a28ad
--- /dev/null
+++ b/package/php4/patches/php4_dns_skipname.patch
@@ -0,0 +1,23 @@
+--- php-4.3.9.orig/ext/standard/dns.c 2003-09-01 16:37:46.000000000 -0600
++++ php-4.3.9/ext/standard/dns.c 2004-11-30 23:53:55.000000000 -0700
+@@ -207,7 +207,7 @@
+ }
+ /* }}} */
+
+-#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
++#if HAVE_RES_SEARCH && HAVE_DN_SKIPNAME && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
+
+ /* {{{ proto int checkdnsrr(string host [, string type])
+ Check DNS records corresponding to a given Internet host name or IP address */
+
+--- php-4.3.9.orig/ext/standard/basic_functions.c 2004-07-30 10:52:35.000000000 -0600
++++ php-4.3.9/ext/standard/basic_functions.c 2004-11-30 23:56:42.000000000 -0700
+@@ -447,7 +447,7 @@
+ PHP_FE(gethostbyname, NULL)
+ PHP_FE(gethostbynamel, NULL)
+
+-#if HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(PHP_WIN32) || defined(NETWARE))
++#if HAVE_RES_SEARCH && HAVE_DN_SKIPNAME && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
+ PHP_FE(checkdnsrr, NULL)
+ PHP_FE(getmxrr,second_and_third_args_force_ref)
+#endif \ No newline at end of file