packages/lang/php5/patches/002-uts_domainname.patch
olli f99eeb71bc php5:
* Update 5.2.3 > 5.2.4
 * Minor Makefile cleanups
 * Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 10:57:31 +00:00

14 lines
560 B
Diff

Index: php-5.2.4/ext/posix/posix.c
===================================================================
--- php-5.2.4.orig/ext/posix/posix.c 2007-09-02 12:24:45.000000000 +0200
+++ php-5.2.4/ext/posix/posix.c 2007-09-02 12:24:45.000000000 +0200
@@ -468,7 +468,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
}
/* }}} */