aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-12-12 12:16:37 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-12-12 12:16:37 +0000
commit6f5053da3a64ddec479691a2a77b4dbafdbef834 (patch)
tree5ba10b08b8bc517527c17698f44c53604ecb0f5a
parentfe2c09e8627ec63de8282b6b56618b60780b6e70 (diff)
downloadports-6f5053da3a64ddec479691a2a77b4dbafdbef834.tar.gz
ports-6f5053da3a64ddec479691a2a77b4dbafdbef834.zip
MFH: r455971
Fix build PR: 223043 Submitted by: Markus Mann <freebsd-public@it64.de> Approved by: ports-secteam (delphij)
Notes
Notes: svn path=/branches/2017Q4/; revision=456123
-rw-r--r--math/pecl-bitset2/files/patch-bitset.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/pecl-bitset2/files/patch-bitset.c b/math/pecl-bitset2/files/patch-bitset.c
new file mode 100644
index 000000000000..fd5d1b3f7fdd
--- /dev/null
+++ b/math/pecl-bitset2/files/patch-bitset.c
@@ -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");
+ }
+