summaryrefslogtreecommitdiff
path: root/lang/php53/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/patches/patch-ac')
-rw-r--r--lang/php53/patches/patch-ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/php53/patches/patch-ac b/lang/php53/patches/patch-ac
index 0c05512463e..aaabf371c1d 100644
--- a/lang/php53/patches/patch-ac
+++ b/lang/php53/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.4 2011/08/20 13:55:09 taca Exp $
+$NetBSD: patch-ac,v 1.5 2013/02/17 13:10:13 taca Exp $
--- ext/gd/config.m4.orig 2011-05-12 08:19:37.000000000 +0000
+++ ext/gd/config.m4
@@ -35,15 +35,15 @@ $NetBSD: patch-ac,v 1.4 2011/08/20 13:55:09 taca Exp $
fi
- PHP_CHECK_LIBRARY(png,png_write_image,
-+ PHP_CHECK_LIBRARY(png15,png_write_image,
++ PHP_CHECK_LIBRARY(png16,png_write_image,
[
PHP_ADD_INCLUDE($GD_PNG_DIR/include)
PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
- PHP_ADD_LIBRARY_WITH_PATH(png, $GD_PNG_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
-+ PHP_ADD_LIBRARY_WITH_PATH(png15, $GD_PNG_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(png16, $GD_PNG_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
],[
- AC_MSG_ERROR([Problem with libpng.(a|so) or libz.(a|so). Please check config.log for more information.])
-+ AC_MSG_ERROR([Problem with libpng15.(a|so) or libz.(a|so). Please check config.log for more information.])
++ AC_MSG_ERROR([Problem with libpng16.(a|so) or libz.(a|so). Please check config.log for more information.])
],[
-L$PHP_ZLIB_DIR/$PHP_LIBDIR -lz -L$GD_PNG_DIR/$PHP_LIBDIR
])