From b6f5a67c3e2f64d0a45658900310aef4fa408622 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:55:29 +0100 Subject: [PATCH] update to 20210817git.3c70e01 [release 20210817git.3c70e01-1mamba;Tue Aug 17 2021] --- ...kpad-20200605git.2757a2c9-gcc-11.2.0.patch | 11 ++++++++ breakpad.spec | 25 ++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 breakpad-20200605git.2757a2c9-gcc-11.2.0.patch diff --git a/breakpad-20200605git.2757a2c9-gcc-11.2.0.patch b/breakpad-20200605git.2757a2c9-gcc-11.2.0.patch new file mode 100644 index 0000000..ce93584 --- /dev/null +++ b/breakpad-20200605git.2757a2c9-gcc-11.2.0.patch @@ -0,0 +1,11 @@ +--- breakpad-20200605git.2757a2c9/src/client/linux/handler/exception_handler.cc.orig 2021-08-16 19:26:55.674699450 +0200 ++++ breakpad-20200605git.2757a2c9/src/client/linux/handler/exception_handler.cc 2021-08-16 19:27:12.182069198 +0200 +@@ -138,7 +138,7 @@ + // SIGSTKSZ may be too small to prevent the signal handlers from overrunning + // the alternative stack. Ensure that the size of the alternative stack is + // large enough. +- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); ++ static const unsigned kSigStackSize = std::max((long int)16384, SIGSTKSZ); + + // Only set an alternative stack if there isn't already one, or if the current + // one is too small. diff --git a/breakpad.spec b/breakpad.spec index cb2ef62..b4f1593 100644 --- a/breakpad.spec +++ b/breakpad.spec @@ -1,15 +1,17 @@ +%define commit %(echo %version | cut -d. -f2) Name: breakpad -Version: 20171017git -Release: 2mamba +Version: 20210817git.3c70e01 +Release: 1mamba Summary: A set of client and server components which implement a crash-reporting system Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://chromium.googlesource.com/breakpad/breakpad -Source: https://chromium.googlesource.com/breakpad/breakpad.git/master/breakpad-%{version}.tar.bz2 +Source: https://chromium.googlesource.com/breakpad/breakpad.git/master@%{commit}/breakpad-%{version}.tar.bz2 Patch0: breakpad-20171017git-gcc-10.2.0.patch Patch1: breakpad-20171017git-glibc-2.30.patch +Patch2: breakpad-20200605git.2757a2c9-gcc-11.2.0.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -40,12 +42,16 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +#-D -T +#:<< _EOF git clone https://chromium.googlesource.com/linux-syscall-support breakpad-lss ln -s ../../breakpad-lss src/third_party/lss %patch0 -p1 -%patch1 -p1 +#%patch1 -p1 +%patch2 -p1 %build +#:<< _EOF %configure %make @@ -68,7 +74,9 @@ ln -s ../../breakpad-lss src/third_party/lss %{_bindir}/minidump_dump %{_bindir}/minidump_stackwalk %{_bindir}/minidump_upload +%{_bindir}/pid2md %{_bindir}/sym_upload +%{_libexecdir}/core_handler %doc AUTHORS LICENSE %files -n lib%{name}-devel @@ -83,6 +91,15 @@ ln -s ../../breakpad-lss src/third_party/lss %doc README.ANDROID README.md %changelog +* Tue Aug 17 2021 Silvan Calarco 20210817git.3c70e01-1mamba +- update to 20210817git.3c70e01 + +* Mon Aug 16 2021 Silvan Calarco 20200605git.2757a2c9-1mamba +- update to 20200605git.2757a2c9 + +* Mon Aug 16 2021 Silvan Calarco 20210816git-1mamba +- update to 20210816git + * Tue Mar 16 2021 Silvan Calarco 20171017git-2mamba - added patches to fix build with recent tools