Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cppcheck for openSUSE:Factory checked in at 2021-09-21 21:13:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cppcheck (Old) and /work/SRC/openSUSE:Factory/.cppcheck.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cppcheck" Tue Sep 21 21:13:20 2021 rev:19 rq:920630 version:2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/cppcheck/cppcheck.changes 2021-07-17 23:37:27.021594321 +0200 +++ /work/SRC/openSUSE:Factory/.cppcheck.new.1899/cppcheck.changes 2021-09-21 21:14:13.234711775 +0200 @@ -1,0 +2,6 @@ +Sun Sep 19 09:10:14 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Add glibc 2.34 build fix: + * 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch + +------------------------------------------------------------------- New: ---- 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cppcheck.spec ++++++ --- /var/tmp/diff_new_pack.LzuJCj/_old 2021-09-21 21:14:13.666712264 +0200 +++ /var/tmp/diff_new_pack.LzuJCj/_new 2021-09-21 21:14:13.670712268 +0200 @@ -24,6 +24,8 @@ URL: https://github.com/danmar/cppcheck Source: https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: fix-i586.patch +# PATCH-FIX-UPSTREAM +Patch1: 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch BuildRequires: cmake BuildRequires: docbook-xsl-stylesheets BuildRequires: gcc-c++ ++++++ 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch ++++++ >From 4cfcffe3ec88dcef8d779ed55a782d351cdffb9c Mon Sep 17 00:00:00 2001 From: Lauri Nurmi <lanu...@iki.fi> Date: Wed, 4 Aug 2021 08:45:50 +0300 Subject: [PATCH] Fix compilation with recent glibc where SIGSTKSZ is not constant. (#3378) --- cli/cppcheckexecutor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 49a8a6f..3fa0857 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -334,7 +334,11 @@ static void print_stacktrace(FILE* output, bool demangling, int maxdepth, bool l #endif } +#ifdef __USE_DYNAMIC_STACK_SIZE +static const size_t MYSTACKSIZE = 16*1024+32768; // wild guess about a reasonable buffer +#else static const size_t MYSTACKSIZE = 16*1024+SIGSTKSZ; // wild guess about a reasonable buffer +#endif static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler static bool bStackBelowHeap=false; // lame attempt to locate heap vs. stack address space. See CppCheckExecutor::check_wrapper() -- 2.33.0