packages/lang/php5/patches/002-uts_domainname.patch
pavlov 14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00

12 lines
457 B
Diff

--- /tmp/php-5.1.6/ext/posix/posix.c 2006-01-01 06:50:12.000000000 -0600
+++ php-5.1.6/ext/posix/posix.c 2007-03-03 19:00:44.000000000 -0600
@@ -463,7 +463,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
}
/* }}} */