e02e606e73
fixes many vulnerabilities just as usual. for more information read http://www.php.net/releases/5_2_3.php add a no_suhosin pseudo-flavor because horde has some problems with the suhosin security patchset
20 lines
775 B
Plaintext
20 lines
775 B
Plaintext
$OpenBSD: patch-ext_gd_config_m4,v 1.5 2007/07/02 08:53:17 robert Exp $
|
|
--- ext/gd/config.m4.orig Fri May 4 23:57:47 2007
|
|
+++ ext/gd/config.m4 Mon Jul 2 10:38:20 2007
|
|
@@ -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)
|
|
],[
|