21 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
22 |
Name: pcre |
Name: pcre |
23 |
Version: 8.38 |
Version: 8.38 |
24 |
|
%define subrel 1 |
25 |
Release: %mkrel 1 |
Release: %mkrel 1 |
26 |
License: BSD-Style |
License: BSD-Style |
27 |
Group: File tools |
Group: File tools |
36 |
# from debian: |
# from debian: |
37 |
Patch4: pcre-pcreposix-glibc-conflict.patch |
Patch4: pcre-pcreposix-glibc-conflict.patch |
38 |
|
|
39 |
|
# Fix pcregrep multi-line matching --only-matching option, upstream bug #1848, |
40 |
|
# in upstream after 8.40 |
41 |
|
Patch12: pcre-8.40-Correct-fix-for-pcre2grep-multiline-with-only-matchi.patch |
42 |
|
# Fix a crash in JIT compilation, CVE-2017-6004, upstream bug #2035, |
43 |
|
# in upstream after 8.40 |
44 |
|
Patch13: pcre-8.40-Fix-a-missing-else-in-the-JIT-compiler-reported-by-i.patch |
45 |
|
# Fix a potenial buffer overflow in formatting a pcregrep error message, |
46 |
|
# upstream bug #2037, in upstream after 8.40 |
47 |
|
Patch14: pcre-8.40-Silent-a-GCC-7-warning-about-too-small-buffer-for-pr.patch |
48 |
|
# Fix parsing comments between quantifiers, upstream bug #2019, |
49 |
|
# in upstream after 8.40 |
50 |
|
Patch15: pcre-8.40-Fix-recognition-of-style-comment-between-quantifier-.patch |
51 |
|
# Fix a crash in pcretest when printing non-ASCII characters, |
52 |
|
# upstream bug #2043, in upstream after 8.40 |
53 |
|
Patch16: pcre-8.40-Check-character-256-for-isprint-in-pcretest.patch |
54 |
|
|
55 |
%description |
%description |
56 |
PCRE has its own native API, but a set of "wrapper" functions that are based on |
PCRE has its own native API, but a set of "wrapper" functions that are based on |
164 |
%patch0 -p1 -b .detect-into-kdelibs |
%patch0 -p1 -b .detect-into-kdelibs |
165 |
%patch1 -p1 -b .linkage-fix |
%patch1 -p1 -b .linkage-fix |
166 |
%patch2 -p1 -b .8.39-RC1 |
%patch2 -p1 -b .8.39-RC1 |
167 |
|
%patch12 -p1 |
168 |
|
%patch13 -p1 |
169 |
|
%patch14 -p1 |
170 |
|
%patch15 -p1 |
171 |
|
%patch16 -p1 |
172 |
|
|
173 |
%if %{build_pcreposix_compat} |
%if %{build_pcreposix_compat} |
174 |
# pcre-pcreposix-glibc-conflict patch below breaks compatibility, |
# pcre-pcreposix-glibc-conflict patch below breaks compatibility, |