1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fixed compiler error after recent PHP 5.3.2 update (see:

http://lists.freebsd.org/pipermail/freebsd-ports/2010-April/060557.html)

Reported by:	pointyhat (via pav)
This commit is contained in:
Greg Larkin 2010-04-12 17:57:20 +00:00
parent 9e9362e1fa
commit 5d86609e84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252601

View File

@ -0,0 +1,20 @@
--- ./spl_type.c.orig 2010-04-12 13:52:44.000000000 -0400
+++ ./spl_type.c 2010-04-12 13:52:53.000000000 -0400
@@ -402,7 +402,7 @@
return spl_type_object_new_ex(class_type, 1, NULL, spl_type_set_float TSRMLS_CC);
}
/* {{{ Method and class definitions */
-static ZEND_BEGIN_ARG_INFO_EX(arg_SplType___construct, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arg_SplType___construct, 0, 0, 0)
ZEND_ARG_INFO(0, initial_value)
ZEND_ARG_INFO(0, strict)
ZEND_END_ARG_INFO()
@@ -412,7 +412,7 @@
{NULL, NULL, NULL}
};
-static ZEND_BEGIN_ARG_INFO_EX(arg_SplEnum_getConstList, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arg_SplEnum_getConstList, 0, 0, 0)
ZEND_ARG_INFO(0, include_default)
ZEND_END_ARG_INFO()