update to 20210817git.3c70e01 [release 20210817git.3c70e01-1mamba;Tue Aug 17 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:55:29 +01:00
parent a815c68b8e
commit b6f5a67c3e
2 changed files with 32 additions and 4 deletions

View File

@ -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.

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 20210817git.3c70e01-1mamba
- update to 20210817git.3c70e01
* Mon Aug 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20200605git.2757a2c9-1mamba
- update to 20200605git.2757a2c9
* Mon Aug 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210816git-1mamba
- update to 20210816git
* Tue Mar 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20171017git-2mamba
- added patches to fix build with recent tools