opnsense-ports/archivers/php56-phar/files/patch-phar.c
Franco Fichtner 6ecd2bdd59 archivers/php56-phar: sync with upstream
Taken from: FreeBSD
2016-07-27 08:04:55 +02:00

11 lines
332 B
C

--- phar.c.orig 2016-06-22 01:50:40 UTC
+++ phar.c
@@ -3630,7 +3630,7 @@ static const zend_module_dep phar_deps[]
ZEND_MOD_OPTIONAL("openssl")
ZEND_MOD_OPTIONAL("zlib")
ZEND_MOD_OPTIONAL("standard")
-#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH)
+#if defined(HAVE_HASH)
ZEND_MOD_REQUIRED("hash")
#endif
#if HAVE_SPL