packages/lang/php5/patches/002-uts_domainname.patch

12 lines
457 B
Diff
Raw Normal View History

--- /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
}
/* }}} */