]> git.pld-linux.org Git - packages/php.git/commitdiff
make tests fail by default auto/th/php53-5.3.29-6
authorElan Ruusamäe <glen@delfi.ee>
Wed, 21 Jan 2015 13:06:19 +0000 (15:06 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 21 Jan 2015 13:06:19 +0000 (15:06 +0200)
same change also in upstream:
https://github.com/php/php-src/commit/180767373d03238431103c02a93de19df49c14dc

fix-test-run.patch
php.spec

index 4e48667665e64392966603ddc66bd9384bf60139..15f3d3b61c3ff6a5c2f984b2d6c5ca4f6bb9660e 100644 (file)
@@ -12,8 +12,8 @@
  PHP_SUBST(PHP_MODULES)
  PHP_SUBST(PHP_ZEND_EX)
  
---- php-5.3.29/Makefile.global 2014-08-19 17:47:47.112627301 +0300
-+++ php-5.3.29/Makefile.global 2014-11-23 04:22:05.601031944 +0200
+--- php-5.3.29/Makefile.global 2014-11-23 04:22:05.601031944 +0200
++++ php-5.3.29/Makefile.global 2015-01-21 15:04:38.046113239 +0200
 @@ -77,8 +77,15 @@
                done; \
        fi
        if test "x$(PHP_MODULES)" != "x"; then \
                for i in $(PHP_MODULES)""; do \
                        . $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
+@@ -92,7 +99,7 @@
+ PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
+ test: all
+-      -@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
++      @if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
+               INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
+               if test "$$INI_FILE"; then \
+                       $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
 @@ -107,7 +114,10 @@
                TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
                TEST_PHP_SRCDIR=$(top_srcdir) \
index 1b43aa9dae94bdd23143e2c2b6b793b9b4699396..713436f3dd4c757e4d7f336de7b17ccc636b407c 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -119,7 +119,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %endif
 %endif
 
-%define                rel     5
+%define                rel     6
 %define                orgname php
 %define                ver_suffix 53
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
This page took 0.088638 seconds and 4 git commands to generate.