Hello community,

here is the log from the commit of package pcre for openSUSE:Factory checked in 
at 2017-11-11 14:14:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcre (Old)
 and      /work/SRC/openSUSE:Factory/.pcre.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcre"

Sat Nov 11 14:14:43 2017 rev:68 rq:539295 version:8.41

Changes:
--------
--- /work/SRC/openSUSE:Factory/pcre/pcre.changes        2017-09-20 
17:05:52.171170382 +0200
+++ /work/SRC/openSUSE:Factory/.pcre.new/pcre.changes   2017-11-11 
14:14:44.521896558 +0100
@@ -1,0 +2,7 @@
+Wed Nov  1 17:46:54 UTC 2017 - [email protected]
+
+- add pcre-8.41-stack_frame_size_detection.patch to fix pcre stack
+  frame size detection because modern compilers broke it by cloning
+  and inlining pcre match() function [bsc#1058722]
+
+-------------------------------------------------------------------

New:
----
  pcre-8.41-stack_frame_size_detection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcre.spec ++++++
--- /var/tmp/diff_new_pack.HhL6zs/_old  2017-11-11 14:14:45.401864304 +0100
+++ /var/tmp/diff_new_pack.HhL6zs/_new  2017-11-11 14:14:45.401864304 +0100
@@ -32,6 +32,8 @@
 Patch0:         pcre-8.32-visibility.patch
 #PATCH-FIX-OPENSUSE [email protected] upstream thinks it is good idea to use 
rpath, taken from RH
 Patch1:         pcre-8.21-multilib.patch
+#PATCH-FIX-OPENSUSE [email protected] fix pcre stack frame size detection 
https://bugs.exim.org/show_bug.cgi?id=2173
+Patch2:         pcre-8.41-stack_frame_size_detection.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -141,6 +143,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # Available JIT archs see sljit/sljitConfig.h

++++++ pcre-8.41-stack_frame_size_detection.patch ++++++
Index: pcre-8.39/pcre_exec.c
===================================================================
--- pcre-8.39.orig/pcre_exec.c
+++ pcre-8.39/pcre_exec.c
@@ -509,6 +509,12 @@ Returns:       MATCH_MATCH if matched
                  (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,



Reply via email to