patch file cleanup... ick.. kaloz you owe me some love
[openwrt/svn-archive/archive.git] / lang / php4 / patches / 003-dns_skipname.patch
1 --- php-4.3.9.orig/ext/standard/dns.c 2003-09-01 16:37:46.000000000 -0600
2 +++ php-4.3.9/ext/standard/dns.c 2004-11-30 23:53:55.000000000 -0700
3 @@ -207,7 +207,7 @@
4 }
5 /* }}} */
6
7 -#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
8 +#if HAVE_RES_SEARCH && HAVE_DN_SKIPNAME && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
9
10 /* {{{ proto int checkdnsrr(string host [, string type])
11 Check DNS records corresponding to a given Internet host name or IP address */
12
13 --- php-4.3.9.orig/ext/standard/basic_functions.c 2004-07-30 10:52:35.000000000 -0600
14 +++ php-4.3.9/ext/standard/basic_functions.c 2004-11-30 23:56:42.000000000 -0700
15 @@ -447,7 +447,7 @@
16 PHP_FE(gethostbyname, NULL)
17 PHP_FE(gethostbynamel, NULL)
18
19 -#if HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(PHP_WIN32) || defined(NETWARE))
20 +#if HAVE_RES_SEARCH && HAVE_DN_SKIPNAME && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
21 PHP_FE(checkdnsrr, NULL)
22 PHP_FE(getmxrr,second_and_third_args_force_ref)
23 #endif