summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-swoole.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec
index a23e565..b6a7bec 100644
--- a/php-pecl-swoole.spec
+++ b/php-pecl-swoole.spec
@@ -39,6 +39,8 @@ Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Patch0: 0d538227be3d9ff16e4af886cc6ab015380deefd.patch
+
BuildRequires: %{?scl_prefix}php-devel >= 5.3.10
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
@@ -154,6 +156,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
+%patch0 -p1 -b .upstream
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h)
@@ -309,7 +312,8 @@ cd ../ZTS
%changelog
* Fri May 26 2017 Remi Collet <remi@remirepo.net> - 1.9.11-1
- Update to 1.9.11
-- open https://github.com/swoole/swoole-src/issues/1225 EL-6 i686
+- add upstream patch for EL-6 i686
+ https://github.com/swoole/swoole-src/issues/1225
* Thu May 4 2017 Remi Collet <remi@remirepo.net> - 1.9.10-1
- Update to 1.9.10