From 5ebba86f1f83ed5e57dbec856dc669a11bef1fe1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 12 Jun 2014 15:49:27 +0200 Subject: php-pecl-apcu: 4.0.6 (beta) --- REFLECTION | 2 +- apcu-pr74.patch | 29 ----------------------------- php-pecl-apcu.spec | 8 ++++---- 3 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 apcu-pr74.patch diff --git a/REFLECTION b/REFLECTION index 5805b57..775a187 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #74 apcu version 4.0.5 ] { +Extension [ extension #74 apcu version 4.0.6 ] { - INI { Entry [ apc.enabled ] diff --git a/apcu-pr74.patch b/apcu-pr74.patch deleted file mode 100644 index 5e4c02e..0000000 --- a/apcu-pr74.patch +++ /dev/null @@ -1,29 +0,0 @@ -From db61fc22941e6179fe9bf29def99af6b16e0bb57 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 11 Jun 2014 09:49:43 +0200 -Subject: [PATCH] Fix PHP 5.4 build - ---- - apc_bin.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/apc_bin.c b/apc_bin.c -index a8f705c..7ae4213 100644 ---- a/apc_bin.c -+++ b/apc_bin.c -@@ -34,6 +34,12 @@ - - #include "ext/standard/md5.h" - -+#ifdef HAVE_PTRDIFF_T -+#include -+#else -+typedef long ptrdiff_t; -+#endif -+ - /* in apc_cache.c */ - extern zval* apc_copy_zval(zval* dst, const zval* src, apc_context_t* ctxt TSRMLS_DC); - --- -1.9.3 - diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index aedd9ae..2701eb0 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -22,15 +22,13 @@ Name: %{?scl_prefix}php-pecl-apcu Summary: APC User Cache -Version: 4.0.5 +Version: 4.0.6 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz Source1: %{pecl_name}.ini Source2: %{pecl_name}-panel.conf Source3: %{pecl_name}.conf.php -Patch0: %{pecl_name}-pr74.patch - License: PHP Group: Development/Languages URL: http://pecl.php.net/package/APCu @@ -152,7 +150,6 @@ configuration, available on http://localhost/apcu-panel/ mv %{pecl_name}-%{version} NTS cd NTS -%patch0 -p1 -b .pr74 # Sanity check, really often broken extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) @@ -302,6 +299,9 @@ fi %changelog +* Thu Jun 12 2014 Remi Collet - 4.0.6-1 +- Update to 4.0.6 (beta) + * Wed Jun 11 2014 Remi Collet - 4.0.5-1 - Update to 4.0.5 (beta) - open https://github.com/krakjoe/apcu/pull/74 (PHP 5.4) -- cgit