Fix crash when compiling an expression with long (*MARK) or (*THEN) names

This commit is contained in:
Petr Písař 2015-11-18 12:24:02 +01:00
parent 8800903048
commit 7de6818938
2 changed files with 92 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
%global rcversion RC1
Name: pcre
Version: 8.38
Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
%global myversion %{version}%{?rcversion:-%rcversion}
Summary: Perl-compatible regular expression library
Group: System Environment/Libraries
@ -31,6 +31,9 @@ Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/%{name}/%{?rcversio
Patch0: pcre-8.21-multilib.patch
# Refused by upstream, bug #675477
Patch1: pcre-8.32-refused_spelling_terminated.patch
# Fix crash when compiling an expression with long (*MARK) or (*THEN) names,
# in upstream after 8.38-RC1
Patch2: pcre-8.38-RC1-Fix-crash-caused-by-long-MARK-or-THEN-names.patch
BuildRequires: readline-devel
BuildRequires: autoconf
BuildRequires: automake
@ -81,6 +84,7 @@ Utilities demonstrating PCRE capabilities like pcregrep or pcretest.
# Get rid of rpath
%patch0 -p1 -b .multilib
%patch1 -p1 -b .terminated_typos
%patch2 -p1
# Because of rpath patch
libtoolize --copy --force
autoreconf -vif
@ -152,6 +156,9 @@ make %{?_smp_mflags} check VERBOSE=yes
%{_mandir}/man1/pcretest.*
%changelog
* Wed Nov 18 2015 Petr Pisar <ppisar@redhat.com> - 8.38-0.2.RC1
- Fix crash when compiling an expression with long (*MARK) or (*THEN) names
* Thu Oct 29 2015 Petr Pisar <ppisar@redhat.com> - 8.38-0.1.RC1
- 8.38-RC1 bump