summaryrefslogtreecommitdiffstats
path: root/php-pecl-seaslog.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-seaslog.spec')
-rw-r--r--php-pecl-seaslog.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec
index 1b990fb..915765a 100644
--- a/php-pecl-seaslog.spec
+++ b/php-pecl-seaslog.spec
@@ -32,6 +32,10 @@ Group: Development/Languages
URL: http://pecl.php.net/package/%{proj_name}
Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
+Patch1: 802d36c6f158e04eace2a816e38f05b8471b4f64.patch
+Patch2: a782883c301e1f778f0f6c7b4891b66e283ae3bb.patch
+Patch3: 22786c74700c1f0da7747ccea128e6400f0ce289.patch
+
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -110,6 +114,9 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch1 -p1 -b .up1
+%patch2 -p1 -b .up2
+%patch3 -p1 -b .up3
: Sanity check, really often broken
extver=$(sed -n '/#define SEASLOG_VERSION /{s/.* "//;s/".*$//;p}' include/SeasLog.h)
@@ -249,7 +256,8 @@ fi
* Tue Sep 19 2017 Remi Collet <remi@remirepo.net> - 1.7.5-1
- Update to 1.7.5
- Update license from Apache License 2.0 to PHP License 3.01
-- open https://github.com/Neeke/SeasLog/issues/152 segfault
+- add upstream patch to fix various segfaults
+ https://github.com/Neeke/SeasLog/issues/152
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.6.9-2
- rebuild for PHP 7.2.0beta1 new API