From 5d1fed8df94a0db02c12ce61c0c2ddc8c97e64d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 14 Jul 2014 13:15:27 +0200 Subject: [PATCH] Fix empty-matching possessive zero-repeat groups in interpreted mode --- pcre.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pcre.spec b/pcre.spec index 4e24bd0..bdc69e0 100644 --- a/pcre.spec +++ b/pcre.spec @@ -2,7 +2,7 @@ #%%global rcversion RC1 Name: pcre Version: 8.35 -Release: %{?rcversion:0.}3%{?rcversion:.%rcversion}%{?dist} +Release: %{?rcversion:0.}4%{?rcversion:.%rcversion}%{?dist} %global myversion %{version}%{?rcversion:-%rcversion} Summary: Perl-compatible regular expression library Group: System Environment/Libraries @@ -26,6 +26,9 @@ Patch4: pcre-8.35-Fix-not-including-VT-in-starting-characters-for-s.patch # Fix character class with a literal quotation, bug #1111054, # upstream bug #1494, in upstream after 8.35 Patch5: pcre-8.35-Fix-bad-compile-of-Qx-.-where-x-is-any-character.patch +# Fix empty-matching possessive zero-repeat groups in interpreted mode, +# bug #1119241, upstream bug #1500, in upstream after 8.35 +Patch6: pcre-8.35-Fix-empty-matching-possessive-zero-repeat-groups-bug.patch BuildRequires: readline-devel # New libtool to get rid of rpath BuildRequires: autoconf, automake, libtool @@ -71,6 +74,7 @@ Utilities demonstrating PCRE capabilities like pcregrep or pcretest. %patch3 -p1 -b .starting_data %patch4 -p1 -b .studied_vt %patch5 -p1 -b .class_with_literal +%patch6 -p1 -b .empty_zero_repeat_group # Because of rpath patch libtoolize --copy --force && autoreconf -vif # One contributor's name is non-UTF-8 @@ -138,6 +142,10 @@ make %{?_smp_mflags} check %{_mandir}/man1/pcretest.* %changelog +* Mon Jul 14 2014 Petr Pisar - 8.35-4 +- Fix empty-matching possessive zero-repeat groups in interpreted mode + (bug #1119241) + * Thu Jun 19 2014 Petr Pisar - 8.35-3 - Fix bad starting data when char with more than one other case follows circumflex in multiline UTF mode (bug #1110620)