summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--0001-fix-ZTS-build.patch25
-rw-r--r--php-pecl-raphf.spec5
2 files changed, 29 insertions, 1 deletions
diff --git a/0001-fix-ZTS-build.patch b/0001-fix-ZTS-build.patch
new file mode 100644
index 0000000..85892e3
--- /dev/null
+++ b/0001-fix-ZTS-build.patch
@@ -0,0 +1,25 @@
+From 028a4eda5ebd97cbadbc427423976deac247af63 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Tue, 20 Aug 2013 10:24:56 +0200
+Subject: [PATCH] fix ZTS build
+
+---
+ php_raphf.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/php_raphf.h b/php_raphf.h
+index a1b0823..220bcf1 100644
+--- a/php_raphf.h
++++ b/php_raphf.h
+@@ -128,7 +128,7 @@ ZEND_BEGIN_MODULE_GLOBALS(raphf)
+ ZEND_END_MODULE_GLOBALS(raphf)
+
+ #ifdef ZTS
+-# define PHP_RAPHF_G ((zend_raphf_globals *)
++# define PHP_RAPHF_G ((zend_raphf_globals *) \
+ (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(raphf_globals_id)])
+ #else
+ # define PHP_RAPHF_G (&raphf_globals)
+--
+1.8.3.1
+
diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec
index c6d5a80..9049478 100644
--- a/php-pecl-raphf.spec
+++ b/php-pecl-raphf.spec
@@ -15,7 +15,7 @@
Summary: Resource and persistent handles factory
Name: php-pecl-%{pecl_name}
-Version: 0.1.0
+Version: 1.0.1
Release: 1%{?dist}
License: BSD
Group: Development/Languages
@@ -168,5 +168,8 @@ rm -rf %{buildroot}
%changelog
+* Tue Aug 20 2013 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
+- Update to 1.0.1
+
* Sun Jun 16 2013 Remi Collet <remi@fedoraproject.org> - 0.1.0-1
- initial package