From 824933da5fe84784984fb9e2b9bdf39f9c18a3d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Sep 2017 09:17:35 +0200 Subject: add upstream patch to fix segfaults --- php-pecl-seaslog.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-seaslog.spec') 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 - 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 - 1.6.9-2 - rebuild for PHP 7.2.0beta1 new API -- cgit