Changeset 68370


Ignore:
Timestamp:
Jun 2, 2010, 7:18:39 AM (10 years ago)
Author:
ryandesign@…
Message:

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

Location:
trunk/dports/lang/php52
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/php52/Portfile

    r66285 r68370  
    6060patch.pre_args          -p1
    6161patchfiles \
     62    patch-ext-standard-string.c.diff \
    6263    patch-scripts-php-config.in.diff \
    6364    patch-bind.diff
  • trunk/dports/lang/php52/files/patch-ext-standard-string.c.diff

    r68369 r68370  
    1 --- a/ext/standard/string.c.orig        2007-12-31 01:22:53.000000000 -0600
    2 +++ b/ext/standard/string.c     2010-06-02 01:41:51.000000000 -0500
     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
    33@@ -39,6 +39,9 @@
    44 #endif
    55 #ifdef HAVE_LIBINTL
    6  # include <libintl.h> /* for LC_MESSAGES */
     6 # include <libintl.h> /* For LC_MESSAGES */
    77+ #ifdef setlocale
    88+ # undef setlocale /* Uh, libintl, don't F* our symbols please */
    99+ #endif
    1010 #endif
    11  #include "scanf.h"
    12  #include "zend_API.h"
     11 
     12 #include <math.h>
Note: See TracChangeset for help on using the changeset viewer.