748511976d
normal update-patches filenames. This avoids update-patches picking up the .orig files in PHP distfiles and make it easier to keep in-sync. ok robert@
20 lines
779 B
Plaintext
20 lines
779 B
Plaintext
$OpenBSD: patch-ext_gd_config_m4,v 1.3 2011/06/18 19:49:50 sthen Exp $
|
|
--- ext/gd/config.m4.orig.port Tue Jul 3 18:25:43 2007
|
|
+++ ext/gd/config.m4 Sat Jun 18 12:44:54 2011
|
|
@@ -111,13 +111,13 @@ AC_DEFUN([PHP_GD_PNG],[
|
|
AC_MSG_ERROR([PNG support requires ZLIB. Use --with-zlib-dir=<DIR>])
|
|
fi
|
|
|
|
- if test ! -f $GD_PNG_DIR/include/png.h; then
|
|
+ if test ! -f $GD_PNG_DIR/include/libpng/png.h; then
|
|
AC_MSG_ERROR([png.h not found.])
|
|
fi
|
|
|
|
PHP_CHECK_LIBRARY(png,png_write_image,
|
|
[
|
|
- PHP_ADD_INCLUDE($GD_PNG_DIR/include)
|
|
+ PHP_ADD_INCLUDE($GD_PNG_DIR/include/libpng)
|
|
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)
|
|
],[
|