From: florian Date: Wed, 28 Feb 2007 16:20:55 +0000 (+0000) Subject: Fix php4 compilation error with utsrelease structure #1422 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ee4017026399ffe8ba297dffd6a3fa0e7c899d4f;p=packages.git Fix php4 compilation error with utsrelease structure #1422 git-svn-id: svn://svn.openwrt.org/openwrt/packages@6432 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/php4/patches/04-uts_domainname.patch b/lang/php4/patches/04-uts_domainname.patch new file mode 100644 index 000000000..c7a312231 --- /dev/null +++ b/lang/php4/patches/04-uts_domainname.patch @@ -0,0 +1,12 @@ +diff -urN php-4.3.11/ext/posix/posix.c php-4.3.11.new/ext/posix/posix.c +--- php-4.3.11/ext/posix/posix.c 2005-01-28 02:39:42.000000000 +0100 ++++ php-4.3.11.new/ext/posix/posix.c 2007-02-28 17:11:34.000000000 +0100 +@@ -533,7 +533,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 + } + /* }}} */