From owner-svn-ports-all@freebsd.org Sun Dec 17 10:19:12 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C715E850CC; Sun, 17 Dec 2017 10:19:12 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DACF46B791; Sun, 17 Dec 2017 10:19:11 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBHAJAMZ024072; Sun, 17 Dec 2017 10:19:10 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBHAJAoS024062; Sun, 17 Dec 2017 10:19:10 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201712171019.vBHAJAoS024062@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Sun, 17 Dec 2017 10:19:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456526 - in head/lang: php70 php70/files php71 php71/files php72 php72/files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/lang: php70 php70/files php71 php71/files php72 php72/files X-SVN-Commit-Revision: 456526 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 10:19:12 -0000 Author: lwhsu Date: Sun Dec 17 10:19:10 2017 New Revision: 456526 URL: https://svnweb.freebsd.org/changeset/ports/456526 Log: 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) Added: head/lang/php70/files/patch-Zend_zend__hash.c (contents, props changed) head/lang/php70/files/patch-Zend_zend__hash.h (contents, props changed) head/lang/php71/files/patch-Zend_zend__hash.c (contents, props changed) head/lang/php71/files/patch-Zend_zend__hash.h (contents, props changed) head/lang/php72/files/patch-Zend_zend__hash.c (contents, props changed) head/lang/php72/files/patch-Zend_zend__hash.h (contents, props changed) Modified: head/lang/php70/Makefile head/lang/php71/Makefile head/lang/php72/Makefile Modified: head/lang/php70/Makefile ============================================================================== --- head/lang/php70/Makefile Sun Dec 17 09:00:36 2017 (r456525) +++ head/lang/php70/Makefile Sun Dec 17 10:19:10 2017 (r456526) @@ -3,7 +3,7 @@ PORTNAME= php70 PORTVERSION= 7.0.26 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} Added: head/lang/php70/files/patch-Zend_zend__hash.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php70/files/patch-Zend_zend__hash.c Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- Zend/zend_hash.c.orig 2017-12-13 20:20:30 UTC ++++ Zend/zend_hash.c +@@ -1573,7 +1573,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; Added: head/lang/php70/files/patch-Zend_zend__hash.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php70/files/patch-Zend_zend__hash.h Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- Zend/zend_hash.h.orig 2017-12-13 20:20:24 UTC ++++ Zend/zend_hash.h +@@ -131,7 +131,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 Modified: head/lang/php71/Makefile ============================================================================== --- head/lang/php71/Makefile Sun Dec 17 09:00:36 2017 (r456525) +++ head/lang/php71/Makefile Sun Dec 17 10:19:10 2017 (r456526) @@ -3,7 +3,7 @@ PORTNAME= php71 PORTVERSION= 7.1.12 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} Added: head/lang/php71/files/patch-Zend_zend__hash.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php71/files/patch-Zend_zend__hash.c Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- Zend/zend_hash.c.orig 2017-12-13 20:22:03 UTC ++++ Zend/zend_hash.c +@@ -1544,7 +1544,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; Added: head/lang/php71/files/patch-Zend_zend__hash.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php71/files/patch-Zend_zend__hash.h Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- 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 Modified: head/lang/php72/Makefile ============================================================================== --- head/lang/php72/Makefile Sun Dec 17 09:00:36 2017 (r456525) +++ head/lang/php72/Makefile Sun Dec 17 10:19:10 2017 (r456526) @@ -2,7 +2,7 @@ PORTNAME= php72 DISTVERSION= 7.2.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} Added: head/lang/php72/files/patch-Zend_zend__hash.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php72/files/patch-Zend_zend__hash.c Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- 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; Added: head/lang/php72/files/patch-Zend_zend__hash.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/php72/files/patch-Zend_zend__hash.h Sun Dec 17 10:19:10 2017 (r456526) @@ -0,0 +1,11 @@ +--- Zend/zend_hash.h.orig 2017-12-13 20:16:12 UTC ++++ Zend/zend_hash.h +@@ -145,7 +145,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