Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 10:40:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455971 - head/math/pecl-bitset2/files
Message-ID:  <201712111040.vBBAephQ077341@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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");
+ 	}
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712111040.vBBAephQ077341>