From c0bd3b871dc9236101c2e5f251e109fb55fcb676 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Aug 2012 09:53:40 +0200 Subject: php-pear-CodeGen-PECL: sync with rawhide --- php-pear-CodeGen-PECL-1.1.3-php54.patch | 26 ++++++++++++++++++++++++++ php-pear-CodeGen-PECL.spec | 11 ++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 php-pear-CodeGen-PECL-1.1.3-php54.patch diff --git a/php-pear-CodeGen-PECL-1.1.3-php54.patch b/php-pear-CodeGen-PECL-1.1.3-php54.patch new file mode 100644 index 0000000..fc7d77a --- /dev/null +++ b/php-pear-CodeGen-PECL-1.1.3-php54.patch @@ -0,0 +1,26 @@ +Patch by Robert Scheck for CodeGen_PECL >= 1.1.3, which replaces +the deprecated alias function_entry by zend_function_entry. This allows generated C code to +be compiled using PHP 5.4. + +--- CodeGen_PECL-1.1.3/PECL/Extension.php 2010-09-27 13:53:30.000000000 +0200 ++++ CodeGen_PECL-1.1.3/PECL/Extension.php.php54 2012-07-21 23:41:56.000000000 +0200 +@@ -1174,7 +1174,7 @@ + function generateFunctionRegistrations() + { + $code = "/* {{{ {$this->name}_functions[] */\n"; +- $code .= "function_entry {$this->name}_functions[] = {\n"; ++ $code .= "zend_function_entry {$this->name}_functions[] = {\n"; + foreach ($this->functions as $function) { + $code.= $function->functionEntry(); + } +--- package.xml 2010-09-27 13:53:30.000000000 +0200 ++++ package.xml.php54 2012-07-22 02:29:16.000000000 +0200 +@@ -126,7 +126,7 @@ + + + +- ++ + + + diff --git a/php-pear-CodeGen-PECL.spec b/php-pear-CodeGen-PECL.spec index 5fe8ff3..9912862 100644 --- a/php-pear-CodeGen-PECL.spec +++ b/php-pear-CodeGen-PECL.spec @@ -76,10 +76,19 @@ fi %{pear_phpdir}/CodeGen/PECL/ %changelog +* Sun Jul 22 2012 Robert Scheck 1.1.3-6 +- Added patch to generate PHP 5.4 compilable C code + +* Fri Jul 20 2012 Fedora Release Engineering - 1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Feb 28 2011 Remi Collet - 1.1.3-3 - rebuild for remi repo -* Thu Feb 24 2011 Robert Scheck 1.0.7-3 +* Thu Feb 24 2011 Robert Scheck 1.1.3-3 - Changed requirements to php-common/-pear(PEAR) (#662257 #c2) * Sat Dec 11 2010 Robert Scheck 1.1.3-2 -- cgit