Browse Source

fix compile

Waldemar Brodkorb 11 years ago
parent
commit
2c65da4754
2 changed files with 10 additions and 1 deletions
  1. 0 1
      package/php/Makefile
  2. 10 0
      package/php/patches/patch-ext_gd_libgd_gd_compat_c

+ 0 - 1
package/php/Makefile

@@ -107,7 +107,6 @@ PKG_CONFIGURE_OPTS:=	\
 	--without-pear \
 	--without-gettext \
 	--without-iconv \
-	--without-libxml-dir \
 	--with-pcre-regex=no \
 	--with-kerberos=no
 

+ 10 - 0
package/php/patches/patch-ext_gd_libgd_gd_compat_c

@@ -0,0 +1,10 @@
+--- php-5.4.17.orig/ext/gd/libgd/gd_compat.c	2013-07-03 08:10:53.000000000 +0200
++++ php-5.4.17/ext/gd/libgd/gd_compat.c	2013-07-17 13:09:52.000000000 +0200
+@@ -5,6 +5,7 @@
+ #endif
+ 
+ #ifdef HAVE_GD_JPG
++# include <stdio.h>
+ # include <jpeglib.h>
+ #endif
+