1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Allow build with php55

- Strip shared library
- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-04 02:49:13 +00:00
parent 0f0f8e198c
commit 1d825fc494
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360521
2 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= igbinary
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -19,4 +20,7 @@ USE_PHPEXT= yes
USE_PHPIZE= yes
USES= tar:tgz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- apc_serializer.h.orig 2011-03-14 20:32:48.000000000 +0800
+++ apc_serializer.h 2014-07-03 23:40:39.234972645 +0800
@@ -54,7 +54,7 @@
ALLOC_INIT_ZVAL(apc_magic_constant);
- if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant)) {
+ if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant TSRMLS_CC)) {
if(apc_magic_constant) {
apc_register_serializer_t register_func = (apc_register_serializer_t)(Z_LVAL_P(apc_magic_constant));
if(register_func) {