diff --git a/pcre-8.41-fix_stack_estimator.patch b/pcre-8.41-fix_stack_estimator.patch deleted file mode 100644 index 085d027..0000000 --- a/pcre-8.41-fix_stack_estimator.patch +++ /dev/null @@ -1,24 +0,0 @@ -Fix recursion stack estimator - -Due to inlining match() by recent GCC, the stack estimator reported 4-bytes -stack consumption. - -Author: Sergei Golubchik - - -diff --git a/pcre/pcre_exec.c b/pcre/pcre_exec.c ---- a/pcre_exec.c -+++ b/pcre_exec.c -@@ -509,6 +509,12 @@ - (e.g. stopped by repeated call or recursion limit) - */ - -+#ifdef __GNUC__ -+static int -+match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, -+ PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, -+ unsigned int rdepth) __attribute__((noinline,noclone)); -+#endif - static int - match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, - PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, diff --git a/pcre.spec b/pcre.spec index 29022bc..349b592 100644 --- a/pcre.spec +++ b/pcre.spec @@ -1,6 +1,6 @@ Name: pcre Version: 8.43 -Release: 4 +Release: 5 Summary: Perl Compatible Regular Expressions ## Source package only: # INSTALL: FSFAP @@ -26,7 +26,6 @@ Summary: Perl Compatible Regular Expressions License: BSD URL: http://www.pcre.org/ Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 -Patch0: pcre-8.41-fix_stack_estimator.patch BuildRequires: readline-devel autoconf automake coreutils BuildRequires: gcc git gcc-c++ glibc-common libtool make BuildRequires: bash diffutils grep @@ -109,6 +108,12 @@ make check VERBOSE=yes %{_mandir}/man3/* %changelog +* Sat Jan 11 2020 openEuler Buildteam - 8.43-5 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: remove unnecessary files + * Mon Nov 11 2019 shenyangyang - 8.43-4 - Type: enhancement - ID: NA