From 2c65da4754459da27bc191e7ce68f581d31b15c2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 17 Jul 2013 13:18:29 +0200 Subject: fix compile --- package/php/Makefile | 1 - package/php/patches/patch-ext_gd_libgd_gd_compat_c | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 package/php/patches/patch-ext_gd_libgd_gd_compat_c (limited to 'package/php') diff --git a/package/php/Makefile b/package/php/Makefile index 05b97257b..c2c99d5c1 100644 --- a/package/php/Makefile +++ b/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 diff --git a/package/php/patches/patch-ext_gd_libgd_gd_compat_c b/package/php/patches/patch-ext_gd_libgd_gd_compat_c new file mode 100644 index 000000000..971de9db6 --- /dev/null +++ b/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 + # include + #endif + -- cgit v1.2.3