[packages/php] fix hash<>phar issues

glen glen at pld-linux.org
Mon Nov 23 12:44:36 CET 2015


commit c5579dea175b65dfb0b2f63361b7161234b3798d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 23 13:44:30 2015 +0200

    fix hash<>phar issues

 dep-tests.sh           |  2 +-
 phar-hash-shared.patch | 11 +++++++++++
 php.spec               |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index 25ce469..4a19cb2 100644
--- a/php.spec
+++ b/php.spec
@@ -134,7 +134,7 @@
 %undefine	with_filter
 %endif
 
-%define		rel	3
+%define		rel	4
 %define		subver	RC7
 %define		orgname	php
 %define		ver_suffix 70
diff --git a/dep-tests.sh b/dep-tests.sh
index e2a561f..18ea66c 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -19,7 +19,7 @@ dep_pdo_dblib="$dep_pdo pdo"
 dep_pdo_mysql="$dep_pdo pdo $with_mysqlnd"
 dep_simplexml="$dep_spl spl"
 dep_imap="pcre"
-dep_phar="$dep_spl spl"
+dep_phar="$dep_spl spl hash"
 dep_sqlite="$dep_pdo pdo"
 dep_fileinfo="pcre"
 dep_wddx='xml'
diff --git a/phar-hash-shared.patch b/phar-hash-shared.patch
index 28119af..621fe6d 100644
--- a/phar-hash-shared.patch
+++ b/phar-hash-shared.patch
@@ -20,3 +20,14 @@
    if test "$PHP_OPENSSL_SHARED" = "yes"; then
      AC_MSG_RESULT([no (shared openssl)])
    else
+--- php-7.0.0RC7/ext/phar/Makefile.frag~	2015-11-23 11:06:31.000000000 +0200
++++ php-7.0.0RC7/ext/phar/Makefile.frag	2015-11-23 11:15:36.452443959 +0200
+@@ -9,7 +9,7 @@
+ 		$(top_srcdir)/build/shtool echo -n -- "$(top_builddir)/$(SAPI_CLI_PATH) -n"; \
+ 		if test "x$(PHP_MODULES)" != "x"; then \
+ 		$(top_srcdir)/build/shtool echo -n -- " -d extension_dir=$(top_builddir)/modules"; \
+-		for i in pcre spl bz2 zlib phar; do \
++		for i in pcre spl bz2 zlib hash phar; do \
+ 			if test -f "$(top_builddir)/modules/$$i.la"; then \
+ 				. $(top_builddir)/modules/$$i.la; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
+ 			fi; \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/c5579dea175b65dfb0b2f63361b7161234b3798d



More information about the pld-cvs-commit mailing list