php5:
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 002-uts_domainname.patch
1 Index: php-5.2.4/ext/posix/posix.c
2 ===================================================================
3 --- php-5.2.4.orig/ext/posix/posix.c 2007-09-02 12:24:45.000000000 +0200
4 +++ php-5.2.4/ext/posix/posix.c 2007-09-02 12:24:45.000000000 +0200
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 /* }}} */