summaryrefslogtreecommitdiff
path: root/lang/php5/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/patches/patch-al')
-rw-r--r--lang/php5/patches/patch-al32
1 files changed, 32 insertions, 0 deletions
diff --git a/lang/php5/patches/patch-al b/lang/php5/patches/patch-al
new file mode 100644
index 00000000000..e05b44f42b3
--- /dev/null
+++ b/lang/php5/patches/patch-al
@@ -0,0 +1,32 @@
+$NetBSD: patch-al,v 1.2.10.1 2007/02/23 11:58:11 ghen Exp $
+
+--- ext/gd/config.m4.orig 2007-02-20 21:14:31.000000000 +0100
++++ ext/gd/config.m4
+@@ -48,18 +48,7 @@ dnl Checks for the configure options
+ dnl
+
+ AC_DEFUN([PHP_GD_ZLIB],[
+- if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
+- if test -f "$PHP_ZLIB_DIR/include/zlib/zlib.h"; then
+- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include/zlib"
+- elif test -f "$PHP_ZLIB_DIR/include/zlib.h"; then
+- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include"
+- else
+- AC_MSG_ERROR([Can't find zlib headers under "$PHP_ZLIB_DIR"])
+- fi
+- else
+- for i in /usr/local /usr; do
++ for i in "$PHP_ZLIB_DIR" /usr/local /usr; do
+ if test -f "$i/include/zlib/zlib.h"; then
+ PHP_ZLIB_DIR="$i"
+ PHP_ZLIB_INCDIR="$i/include/zlib"
+@@ -68,7 +57,6 @@ AC_DEFUN([PHP_GD_ZLIB],[
+ PHP_ZLIB_INCDIR="$i/include"
+ fi
+ done
+- fi
+ ])
+
+ AC_DEFUN([PHP_GD_JPEG],[