X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=blobdiff_plain;f=fix-test-run.patch;h=bd3c3d7df0a98473f9eede0135cb1a9744eb7830;hp=3de5b431778e7ac0c2ebc1ab7fb8b355be1c8fe7;hb=1cf39e06dc3114fcbf1d26231cde765d28c4a30c;hpb=e59f178bd07ce379ba67394098da351eb0f2737a diff --git a/fix-test-run.patch b/fix-test-run.patch index 3de5b43..bd3c3d7 100644 --- a/fix-test-run.patch +++ b/fix-test-run.patch @@ -1,5 +1,5 @@ ---- php-5.4.0alpha2/configure.in~ 2011-08-07 12:43:31.000000000 +0300 -+++ php-5.4.0alpha2/configure.in 2011-08-07 12:44:11.495394662 +0300 +--- php-5.4.0alpha2/configure.ac~ 2011-08-07 12:43:31.000000000 +0300 ++++ php-5.4.0alpha2/configure.ac 2011-08-07 12:44:11.495394662 +0300 @@ -1271,6 +1271,11 @@ ;; esac @@ -12,32 +12,26 @@ PHP_SUBST_OLD(PHP_INSTALLED_SAPIS) PHP_SUBST(PHP_EXECUTABLE) ---- php-5.5.0alpha2/Makefile.global~ 2013-01-02 15:26:29.000000000 +0200 -+++ php-5.5.0alpha2/Makefile.global 2013-01-02 15:29:53.064968422 +0200 -@@ -77,7 +77,8 @@ +--- php-5.5.11/Makefile.global 2014-04-27 15:05:38.963814051 +0300 ++++ php-5.5.11/Makefile.global 2014-04-27 15:09:54.438443707 +0300 +@@ -81,8 +81,15 @@ done; \ fi -PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' +PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d 'safe_mode=0' -+PHP_TEST_SHARED_SYSTEM_EXTENSIONS = pcre ++PHP_TEST_SHARED_SYSTEM_EXTENSIONS = PHP_TEST_SHARED_EXTENSIONS = ` \ - if test "x$(PHP_MODULES)" != "x"; then \ - for i in $(PHP_MODULES)""; do \ -@@ -88,6 +89,12 @@ - for i in $(PHP_ZEND_EX)""; do \ - . $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \ - done; \ -+ fi; \ + if test "x$(PHP_TEST_SHARED_SYSTEM_EXTENSIONS)" != "x"; then \ + for i in $(PHP_TEST_SHARED_SYSTEM_EXTENSIONS)""; do \ + dlname=$$i.$(SHLIB_DL_SUFFIX_NAME); \ + $(top_srcdir)/build/shtool echo -n -- " -d extension=$(EXTENSION_DIR)/$$dlname"; \ + done; \ - fi` - PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*=' - -@@ -118,7 +118,10 @@ ++ fi; \ + if test "x$(PHP_MODULES)" != "x"; then \ + for i in $(PHP_MODULES)""; do \ + . $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \ +@@ -111,7 +118,10 @@ TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \ TEST_PHP_SRCDIR=$(top_srcdir) \ CC="$(CC)" \ @@ -49,14 +43,3 @@ TEST_RESULT_EXIT_CODE=$$?; \ rm $(top_builddir)/tmp-php.ini; \ exit $$TEST_RESULT_EXIT_CODE; \ ---- php-5.3.2/Makefile.global 2010-03-16 16:31:36.972576955 +0200 -+++ php-5.3.2/Makefile.global 2010-03-16 16:31:36.972576955 +0200 -@@ -296,7 +296,7 @@ - fi - - PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d 'safe_mode=0' --PHP_TEST_SHARED_SYSTEM_EXTENSIONS = pcre -+PHP_TEST_SHARED_SYSTEM_EXTENSIONS = - PHP_TEST_SHARED_EXTENSIONS = ` \ - if test "x$(PHP_MODULES)" != "x"; then \ - for i in $(PHP_MODULES)""; do \