From 150050a88a0fc4b5ef6cc7de642790ea8a8a4028 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Nov 2020 11:01:20 +0100 Subject: fix segfault using patch from https://github.com/php-ds/ext-ds/pull/165 --- php-pecl-ds.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'php-pecl-ds.spec') diff --git a/php-pecl-ds.spec b/php-pecl-ds.spec index 4bd8e67..a130037 100644 --- a/php-pecl-ds.spec +++ b/php-pecl-ds.spec @@ -34,7 +34,7 @@ Summary: Data Structures for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.3.0 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz @@ -42,7 +42,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz # in composer.json: "require-dev": { "php-ds/tests": "dev-master" } Source1: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{gh_short}.tar.gz -Patch0: 0001-review-object-management.patch +Patch0: 0001-fix-missing-return-after-exception.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 @@ -244,6 +244,10 @@ cd .. %changelog +* Tue Nov 3 2020 Remi Collet - 1.3.0-2 +- fix segfault using patch from + https://github.com/php-ds/ext-ds/pull/165 + * Wed Oct 14 2020 Remi Collet - 1.3.0-1 - update to 1.3.0 -- cgit