summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-08-20 11:34:44 +0200
committerRemi Collet <fedora@famillecollet.com>2013-08-20 11:34:44 +0200
commitbc26d1ffc038b3f92aa7703dd9e6a4d1f001920c (patch)
treed685816b51ecff0ae0de5e8b7d00b16218c70ffd
parent759d2ba70dbd1871f69d946964b0ef0220e9417b (diff)
php-pecl-raphf: 1.0.1 (ZTS broken)
-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