Fix for php 5.4.

This commit is contained in:
Alex Dupre 2012-05-23 07:41:41 +00:00
parent dae8d81cd5
commit 455d41725d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297266
2 changed files with 11 additions and 2 deletions

View File

@ -18,8 +18,6 @@ COMMENT= Radius client library for PHP
USE_PHP= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --enable-radius

View File

@ -0,0 +1,11 @@
--- radius.c.orig 2012-05-23 09:36:48.000000000 +0200
+++ radius.c 2012-05-23 09:37:04.000000000 +0200
@@ -62,7 +62,7 @@
*
* Every user visible function must have an entry in radius_functions[].
*/
-function_entry radius_functions[] = {
+zend_function_entry radius_functions[] = {
PHP_FE(radius_auth_open, NULL)
PHP_FE(radius_acct_open, NULL)
PHP_FE(radius_close, NULL)