diff options
author | taca <taca@pkgsrc.org> | 2012-06-16 03:07:54 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-06-16 03:07:54 +0000 |
commit | 07712e1ff7a784aee6b5a57605d02781ad650ddf (patch) | |
tree | f7497bcf60526b27272e44ee306ef21e39b5ab04 /www/php-phrasea2/patches | |
parent | 43c2c024406c3ed07a8c4539491fe0271f9ddefc (diff) | |
download | pkgsrc-07712e1ff7a784aee6b5a57605d02781ad650ddf.tar.gz |
Use newer data type name of PHP to support PHP 5.4.x.
Diffstat (limited to 'www/php-phrasea2/patches')
-rw-r--r-- | www/php-phrasea2/patches/patch-bin_src_php__phrasea2_phrasea2.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/php-phrasea2/patches/patch-bin_src_php__phrasea2_phrasea2.cpp b/www/php-phrasea2/patches/patch-bin_src_php__phrasea2_phrasea2.cpp new file mode 100644 index 00000000000..64bd09c1574 --- /dev/null +++ b/www/php-phrasea2/patches/patch-bin_src_php__phrasea2_phrasea2.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-bin_src_php__phrasea2_phrasea2.cpp,v 1.1 2012/06/16 03:07:54 taca Exp $ + +Use modern data structure name. + +--- phrasea2.cpp.orig 2011-01-27 17:41:59.000000000 +0000 ++++ phrasea2.cpp +@@ -46,7 +46,7 @@ ZEND_DECLARE_MODULE_GLOBALS(phrasea2) + + // ----------------------------------------------------------------------------- + // option -Wno-write-strings to gcc prevents warnings on this section +-static function_entry phrasea2_functions[] = { ++static zend_function_entry phrasea2_functions[] = { + PHP_FE(phrasea_info, NULL) + PHP_FE(phrasea_conn, NULL) + PHP_FE(phrasea_create_session, NULL) |