source: trunk/dports/lang/php52/files/patch-ext-standard-string.c.diff @ 68370

Last change on this file since 68370 was 68370, checked in by ryandesign@…, 10 years ago

php52: fix build failure with gettext 0.18; see #24934

File size: 349 bytes
RevLine 
[68370]1--- a/ext/standard/string.c.orig        2010-02-01 06:59:08.000000000 -0600
2+++ b/ext/standard/string.c     2010-06-02 01:49:05.000000000 -0500
[68369]3@@ -39,6 +39,9 @@
4 #endif
5 #ifdef HAVE_LIBINTL
[68370]6 # include <libintl.h> /* For LC_MESSAGES */
[68369]7+ #ifdef setlocale
8+ # undef setlocale /* Uh, libintl, don't F* our symbols please */
9+ #endif
10 #endif
[68370]11 
12 #include <math.h>
Note: See TracBrowser for help on using the repository browser.