packages/lang/php5/patches/02-uts_domainname.patch
florian c52976b899 Fix php5 compilation error (#1427)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 12:26:06 +00:00

13 lines
526 B
Diff

diff -urN php-5.0.5/ext/posix/posix.c php-5.0.5.new/ext/posix/posix.c
--- php-5.0.5/ext/posix/posix.c 2005-06-07 00:06:00.000000000 +0200
+++ php-5.0.5.new/ext/posix/posix.c 2007-03-03 12:14:41.000000000 +0100
@@ -438,7 +438,7 @@
add_assoc_string(return_value, "version", u.version, 1);
add_assoc_string(return_value, "machine", u.machine, 1);
#ifdef _GNU_SOURCE
- add_assoc_string(return_value, "domainname", u.domainname, 1);
+ add_assoc_string(return_value, "domainname", u.__domainname, 1);
#endif
}
/* }}} */