summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
Diffstat (limited to 'package/php')
-rw-r--r--package/php/Makefile5
-rw-r--r--package/php/patches/patch-configure96
2 files changed, 98 insertions, 3 deletions
diff --git a/package/php/Makefile b/package/php/Makefile
index 528f5bb11..0972517d5 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= php
-PKG_VERSION:= 5.5.6
+PKG_VERSION:= 5.5.10
PKG_RELEASE:= 1
-PKG_MD5SUM:= 82968eac50c523ecf7a05855cb5c3d0a
+PKG_MD5SUM:= e760656f7cf2f05158f73da75e8b720b
PKG_DESCR:= PHP language interpreter
PKG_SECTION:= lang
PKG_DEPENDS:= libpthread librt libgcc
@@ -130,7 +130,6 @@ PKG_CONFIGURE_OPTS+= --with-gd=shared,"$(STAGING_TARGET_DIR)/usr" \
--with-png-dir="$(STAGING_TARGET_DIR)/usr" \
--with-jpeg-dir="$(STAGING_TARGET_DIR)/usr" \
--without-freetype-dir \
- --without-xpm-dir \
--without-ttf \
--without-t1lib \
--enable-gd-native-ttf \
diff --git a/package/php/patches/patch-configure b/package/php/patches/patch-configure
new file mode 100644
index 000000000..f7d6194c8
--- /dev/null
+++ b/package/php/patches/patch-configure
@@ -0,0 +1,96 @@
+--- php-5.5.10.orig/configure 2014-03-05 11:52:32.000000000 +0100
++++ php-5.5.10/configure 2014-03-11 19:16:14.718425962 +0100
+@@ -37475,19 +37475,7 @@ fi
+
+
+ php_with_xpm_dir=no
+-
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the location of libXpm" >&5
+-$as_echo_n "checking for the location of libXpm... " >&6; }
+-
+-# Check whether --with-xpm-dir was given.
+-if test "${with_xpm_dir+set}" = set; then :
+- withval=$with_xpm_dir; PHP_XPM_DIR=$withval
+-else
+-
+- PHP_XPM_DIR=no
+-
+-
+-fi
++PHP_XPM_DIR=no
+
+
+ ext_output=$PHP_XPM_DIR
+@@ -39551,13 +39539,6 @@ $as_echo "#define HAVE_GD_JPG 1" >>confd
+ GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBJPEG"
+ fi
+
+- if test -n "$GD_XPM_DIR"; then
+-
+-$as_echo "#define HAVE_GD_XPM 1" >>confdefs.h
+-
+- GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_XPM"
+- fi
+-
+ if test -n "$FREETYPE2_DIR"; then
+
+ $as_echo "#define HAVE_GD_FREETYPE 1" >>confdefs.h
+@@ -42258,58 +42239,6 @@ fi
+ esac
+ done
+
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreateFromXpm in -lgd" >&5
+-$as_echo_n "checking for gdImageCreateFromXpm in -lgd... " >&6; }
+-if ${ac_cv_lib_gd_gdImageCreateFromXpm+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lgd $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char gdImageCreateFromXpm ();
+-int
+-main ()
+-{
+-return gdImageCreateFromXpm ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+- ac_cv_lib_gd_gdImageCreateFromXpm=yes
+-else
+- ac_cv_lib_gd_gdImageCreateFromXpm=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreateFromXpm" >&5
+-$as_echo "$ac_cv_lib_gd_gdImageCreateFromXpm" >&6; }
+-if test "x$ac_cv_lib_gd_gdImageCreateFromXpm" = xyes; then :
+-
+- LDFLAGS=$save_old_LDFLAGS
+- ext_shared=$save_ext_shared
+-
+-$as_echo "#define HAVE_GD_XPM 1" >>confdefs.h
+-
+-
+-else
+-
+- LDFLAGS=$save_old_LDFLAGS
+- ext_shared=$save_ext_shared
+- unset ac_cv_lib_gd_gdImageCreateFromXpm
+-
+-
+-fi
+
+
+ save_old_LDFLAGS=$LDFLAGS