usr/src/cmd/php5/patches/idn_config.patch
author Jon Tibble <meths@btinternet.com>
Mon, 04 May 2015 14:04:39 +0100
branchoi_151a
changeset 254 9c2a4ac793f0
parent 0 b34509ac961f
permissions -rw-r--r--
Bash patch catchup including shellshock

--- idn-0.2.0/config.m4.ORIG	Thu Jan 29 11:40:38 2009
+++ idn-0.2.0/config.m4	Thu Jan 29 11:42:02 2009
@@ -5,8 +5,8 @@
 [  --with-idn[=DIR]        Include GNU Libidn support])
 
 if test "$PHP_IDN" != "no"; then
-  SEARCH_PATH="/usr/local /usr"
-  SEARCH_FOR="/include/idna.h"
+  SEARCH_PATH="/usr/local /usr" 
+  SEARCH_FOR="include/idn/idna.h"
 
   if test -r $PHP_IDN/$SEARCH_FOR; then # path given as parameter
     IDN_DIR=$PHP_IDN
@@ -33,7 +33,7 @@
     AC_MSG_RESULT([no])
   fi
 
-  PHP_ADD_INCLUDE($IDN_DIR/include)
+  PHP_ADD_INCLUDE(/usr/include/idn)
 
   dnl # --with-idn -> check for lib and symbol presence
   LIBNAME=idn