GoldZone Web Hosting

Rédigé par Gaëtan Trellu (goldyfruit)

Outils pour utilisateurs

Outils du site


php-5.1.6-oracle.patch

Patch Oracle.

diff -Naupr php-5.1.6.orig/ext/oci8/config.m4 php-5.1.6/ext/oci8/config.m4
--- php-5.1.6/ext/oci8/config.m4        2006-04-05 16:06:00.000000000 +0200
+++ php-5.1.6/ext/oci8/config.m4        2007-05-21 20:34:30.000000000 +0200
@@ -316,7 +316,7 @@ dnl version in /usr/lib
   AC_MSG_CHECKING([Oracle Instant Client SDK header directory])
 
 dnl Header directory for Instant Client SDK RPM install
-  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client/lib[[/]]*$!/usr/include/oracle/\1/client!'`
+  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!.*/oracle/\(.*\)/client/lib.*!/usr/include/oracle/\1/client!'`
 
 dnl Header directory for Instant Client SDK zip file install
   OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include
php-5.1.6-oracle.patch.txt · Dernière modification: 2011/01/05 16:05 (modification externe)