From 291c7e4525b51f3a189d815d4be617669b2581b4 Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 16 Jun 2012 03:07:54 +0000 Subject: Use newer data type name of PHP to support PHP 5.4.x. --- www/php-phrasea2/distinfo | 3 ++- .../patches/patch-bin_src_php__phrasea2_phrasea2.cpp | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 www/php-phrasea2/patches/patch-bin_src_php__phrasea2_phrasea2.cpp (limited to 'www') diff --git a/www/php-phrasea2/distinfo b/www/php-phrasea2/distinfo index 91731544a00..eca3282d5e4 100644 --- a/www/php-phrasea2/distinfo +++ b/www/php-phrasea2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2011/12/19 03:04:13 obache Exp $ +$NetBSD: distinfo,v 1.5 2012/06/16 03:07:54 taca Exp $ SHA1 (phraseanet-v3.1.4-linux.tar.gz) = 46e423c87b4ba74a24ff8ebc9214c83ece1ec628 RMD160 (phraseanet-v3.1.4-linux.tar.gz) = 3a2389b8effd0e6882f5d98eb70fe8fb55989114 @@ -6,3 +6,4 @@ Size (phraseanet-v3.1.4-linux.tar.gz) = 73712035 bytes SHA1 (patch-aa) = 6bc09ea363ad4c86c203cc6226cd47e2fa2f9302 SHA1 (patch-ab) = cdddd3666814571047f5cdb8abe00caff4dc6896 SHA1 (patch-ad) = 7cf1aeb8fce89aa94bc849dcb4e9c0eb49bf108d +SHA1 (patch-bin_src_php__phrasea2_phrasea2.cpp) = 22654648f5c0f3f296e9fb3e2fcc614e35c76038 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) -- cgit v1.2.3