From b45a4053cb5220048bd87bbd1395e17640604f35 Mon Sep 17 00:00:00 2001 From: Tim Yardley Date: Sun, 4 Mar 2007 01:44:28 +0000 Subject: [PATCH] move from php 5.0.5 to php 5.1.6... compiles but not tested on a platform SVN-Revision: 6490 --- lang/php5/Makefile | 6 +- lang/php5/patches/01-configure_cross.patch | 81 ++++++---------------- 2 files changed, 26 insertions(+), 61 deletions(-) diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 929099f49b..5da72cbb37 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php -PKG_VERSION:=5.0.5 +PKG_VERSION:=5.1.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://fr.php.net/distributions/ -PKG_MD5SUM:=b5d4ca75bbb11ee5b830fa67213d9f7f +PKG_MD5SUM:=08e423aa314369d4392a36b3f7246afc PKG_CAT:=bzcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) @@ -172,6 +172,8 @@ PKG_CONFIGURE_OPTS:= \ --without-iconv \ --disable-libxml \ --without-libxml-dir \ + --disable-xmlreader \ + --disable-xmlwriter \ --disable-mbstring \ --disable-mbregex \ --with-openssl=shared,"$(STAGING_DIR)/usr" \ diff --git a/lang/php5/patches/01-configure_cross.patch b/lang/php5/patches/01-configure_cross.patch index d4c423b3b0..dd2e68fcad 100644 --- a/lang/php5/patches/01-configure_cross.patch +++ b/lang/php5/patches/01-configure_cross.patch @@ -1,6 +1,6 @@ ---- php-5.0.4/configure 2005-06-16 19:23:10.000000000 +0200 -+++ php-5.0.4-patched/configure 2005-07-01 23:52:04.000000000 +0200 -@@ -13851,7 +13851,7 @@ +--- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500 ++++ php-5.1.6/configure 2007-03-03 18:59:35.000000000 -0600 +@@ -14919,7 +14919,7 @@ ac_libs=$LIBS LIBS="$LIBS -ldl" if test "$cross_compiling" = yes; then @@ -8,71 +8,34 @@ + found=yes else cat > conftest.$ac_ext <&2; exit 1; } + { echo "configure: error: can not run test program while cross compiling" 1>&2; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - if test "$cross_compiling" = yes; then -- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -+ { echo "configure: error: can not run test program while cross compiling" 1>&2; } - else - cat > conftest.$ac_ext <&2; exit 1; } -+ { echo "configure: error: can not run test program while cross compiling" 1>&2; } - else - cat > conftest.$ac_ext <&6 - echo "configure:41407: checking if iconv supports errno" >&5 - if test "$cross_compiling" = yes; then -- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -+ { echo "configure: error: can not run test program while cross compiling" 1>&2; } + #line 45582 "configure" +@@ -107054,6 +107054,7 @@ else - cat > conftest.$ac_ext <&6 + test "$dynamic_linker" = no && can_build_shared=no - netbsd*) -@@ -96977,7 +96977,7 @@ +@@ -108669,7 +108672,7 @@ link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries -- 2.30.2