update to php 5.2.3, bugfixes and security fixes... note, the binaries have changed...
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 002-uts_domainname.patch
1 Index: php-5.2.3/ext/posix/posix.c
2 ===================================================================
3 --- php-5.2.3.orig/ext/posix/posix.c 2007-07-30 10:52:16.000000000 -0500
4 +++ php-5.2.3/ext/posix/posix.c 2007-07-30 10:52:17.000000000 -0500
5 @@ -468,7 +468,7 @@
6 add_assoc_string(return_value, "version", u.version, 1);
7 add_assoc_string(return_value, "machine", u.machine, 1);
8 #ifdef _GNU_SOURCE
9 - add_assoc_string(return_value, "domainname", u.domainname, 1);
10 + add_assoc_string(return_value, "domainname", u.__domainname, 1);
11 #endif
12 }
13 /* }}} */