freebsd-ports/lang/php71/files/patch-Zend_zend__hash.h
Li-Wen Hsu 86d4a95570 Add an upstream patch:
http://git.php.net/?p=php-src.git;a=commit;h=72ec23d8233ac9a2071f991752cff55febb167d5

This eliminate a warning while building with clang on 32-bit system and enable
other programs' configure scripts test PHP feature with `-Werror`

Approved by:	tz (maintainer)
2017-12-17 10:19:10 +00:00

11 lines
775 B
C

--- Zend/zend_hash.h.orig 2017-12-13 20:15:42 UTC
+++ Zend/zend_hash.h
@@ -138,7 +138,7 @@ ZEND_API void ZEND_FASTCALL zend_hash_gr
ZEND_API void ZEND_FASTCALL zend_hash_graceful_reverse_destroy(HashTable *ht);
ZEND_API void ZEND_FASTCALL zend_hash_apply(HashTable *ht, apply_func_t apply_func);
ZEND_API void ZEND_FASTCALL zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *);
-ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...);
+ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...);
/* This function should be used with special care (in other words,
* it should usually not be used). When used with the ZEND_HASH_APPLY_STOP