php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53443
Patch iconv_v2.patch revision 2010-12-01 22:03 UTC by fransmeulenbroeks at gmail dot com
Patch iconv.patch revision 2010-12-01 21:58 UTC by fransmeulenbroeks at gmail dot com

Patch iconv_v2.patch for Compile Failure Bug #53443

Patch version 2010-12-01 22:03 UTC

Return to Bug #53443 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: fransmeulenbroeks@gmail.com

Index: php-5.2.13/ext/iconv/config.m4
===================================================================
--- php-5.2.13.orig/ext/iconv/config.m4
+++ php-5.2.13/ext/iconv/config.m4
@@ -15,7 +15,7 @@ if test "$PHP_ICONV" != "no"; then
 
   if test "$iconv_avail" != "no"; then
     if test -z "$ICONV_DIR"; then
-      for i in /usr/local /usr; do
+      for i in $PHP_ICONV /usr/local /usr; do
         if test -f "$i/include/iconv.h" || test -f "$i/include/giconv.h"; then
           PHP_ICONV_PREFIX="$i"
           break
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 05:01:30 2024 UTC