svn commit: r455971 - head/math/pecl-bitset2/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 11 10:40:54 UTC 2017
Author: sunpoet
Date: Mon Dec 11 10:40:51 2017
New Revision: 455971
URL: https://svnweb.freebsd.org/changeset/ports/455971
Log:
Fix build
PR: 223043
Submitted by: Markus Mann <freebsd-public at it64.de>
MFH: 2017Q4
Added:
head/math/pecl-bitset2/files/
head/math/pecl-bitset2/files/patch-bitset.c (contents, props changed)
Added: head/math/pecl-bitset2/files/patch-bitset.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/pecl-bitset2/files/patch-bitset.c Mon Dec 11 10:40:51 2017 (r455971)
@@ -0,0 +1,20 @@
+--- bitset.c.orig 2017-10-06 16:29:59 UTC
++++ bitset.c
+@@ -652,7 +652,7 @@ PHP_METHOD(BitSet, previousClearBit)
+ bit_diff = intern->bitset_len * CHAR_BIT;
+
+ if (start_bit > bit_diff) {
+- zend_throw_exception_ex(spl_ce_OutOfRangeException, 0,
++ zend_throw_exception_ex(spl_ce_OutOfRangeException, 0 TSRMLS_CC,
+ "The specified index parameter exceeds the total number of bits available");
+ return;
+ }
+@@ -696,7 +696,7 @@ PHP_METHOD(BitSet, previousSetBit)
+ bit_diff = intern->bitset_len * CHAR_BIT;
+
+ if (start_bit > bit_diff) {
+- zend_throw_exception_ex(spl_ce_OutOfRangeException, 0,
++ zend_throw_exception_ex(spl_ce_OutOfRangeException, 0 TSRMLS_CC,
+ "The specified index parameter exceeds the total number of bits available");
+ }
+
More information about the svn-ports-head
mailing list