ports/lang/php72/files/patch-Zend_zend__hash.c
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
407 B
C

--- Zend/zend_hash.c.orig 2017-12-13 20:23:18 UTC
+++ Zend/zend_hash.c
@@ -1543,7 +1543,7 @@ ZEND_API void ZEND_FASTCALL zend_hash_ap
}
-ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...)
+ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...)
{
uint32_t idx;
Bucket *p;