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

14 lines
560 B
Diff
Raw Normal View History

Index: php-5.2.3/ext/posix/posix.c
===================================================================
--- php-5.2.3.orig/ext/posix/posix.c 2007-07-30 10:52:16.000000000 -0500
+++ php-5.2.3/ext/posix/posix.c 2007-07-30 10:52:17.000000000 -0500
@@ -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
}
/* }}} */