[packages/php] phar: also disable warning

glen glen at pld-linux.org
Fri Nov 20 11:52:21 CET 2015


commit 312aa080d5d6ad79b18c594e6839bd5544b22fd6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 20 12:52:16 2015 +0200

    phar: also disable warning

 phar-hash-shared.patch | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/phar-hash-shared.patch b/phar-hash-shared.patch
index 47c4af8..28119af 100644
--- a/phar-hash-shared.patch
+++ b/phar-hash-shared.patch
@@ -1,5 +1,5 @@
---- php-7.0.0RC6/ext/phar/config.m4~	2015-10-27 21:24:16.000000000 +0200
-+++ php-7.0.0RC6/ext/phar/config.m4	2015-11-17 19:13:50.877662712 +0200
+--- php-7.0.0RC6/ext/phar/config.m4	2015-11-17 19:13:50.877662712 +0200
++++ php-7.0.0RC6/ext/phar/config.m4	2015-11-20 12:51:24.088185045 +0200
 @@ -7,13 +7,13 @@
  if test "$PHP_PHAR" != "no"; then
    PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
@@ -11,10 +11,11 @@
        AC_DEFINE(PHAR_HASH_OK,1,[ ])
 -    fi
 -  else
+-    AC_MSG_WARN([Phar: sha256/sha512 signature support disabled if ext/hash is built shared])
+-  fi
 +dnl    fi
 +dnl  else
-     AC_MSG_WARN([Phar: sha256/sha512 signature support disabled if ext/hash is built shared])
--  fi
++dnl    AC_MSG_WARN([Phar: sha256/sha512 signature support disabled if ext/hash is built shared])
 +dnl  fi
    if test "$PHP_OPENSSL_SHARED" = "yes"; then
      AC_MSG_RESULT([no (shared openssl)])
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list