Michael R. Crusoe pushed to branch master at Debian Med / ugene
Commits: b4859a67 by Michael R. Crusoe at 2022-08-30T21:46:47+02:00 debian/patches/Fix-for-non-constant-SIGSTKSZ.patch: from Ubuntu, Closes: #1010358 - - - - - 3d5cb3a7 by Michael R. Crusoe at 2022-08-30T21:46:57+02:00 routine-update: Standards-Version: 4.6.1 - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/Fix-for-non-constant-SIGSTKSZ.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,7 +1,13 @@ ugene (40.1+dfsg-2) UNRELEASED; urgency=medium + [ Andreas Tille ] * Enable uscan to create a sensible download name + [ Michael R. Crusoe ] + * debian/patches/Fix-for-non-constant-SIGSTKSZ.patch: from Ubuntu, + Closes: #1010358 + * Standards-Version: 4.6.1 (routine-update) + -- Andreas Tille <[email protected]> Wed, 20 Oct 2021 09:03:35 +0200 ugene (40.1+dfsg-1) unstable; urgency=medium ===================================== debian/control ===================================== @@ -23,7 +23,7 @@ Build-Depends: qtbase5-dev, libprocps-dev Build-Conflicts: libqt4-dev, qt4-qmake -Standards-Version: 4.6.0 +Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/med-team/ugene Vcs-Git: https://salsa.debian.org/med-team/ugene.git Homepage: https://ugene.unipro.ru ===================================== debian/patches/Fix-for-non-constant-SIGSTKSZ.patch ===================================== @@ -0,0 +1,32 @@ +From: David Faure <[email protected]> +Date: Wed, 15 Dec 2021 22:26:40 +0100 +Subject: [PATCH] Fix for non-constant SIGSTKSZ + +On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case +it expands to a call to `sysconf` which returns a `long int`); see +https://sourceware.org/pipermail/libc-alpha/2020-October/118513.html + +Pass unsigned explicitly to std::max, to avoid relying on template +argument deduction. This works both with the old-style constant +`SIGSTKSZ` and the new configurable one. + +Initially based on https://chromium-review.googlesource.com/c/2776379 + +Change-Id: I9fc95337f973e871b84735ce822b5e11ba73ea8c +Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3340721 +Reviewed-by: Mark Mentovai <[email protected]> +--- + src/client/linux/handler/exception_handler.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/libs_3rdparty/breakpad/src/client/linux/handler/exception_handler.cc ++++ b/src/libs_3rdparty/breakpad/src/client/linux/handler/exception_handler.cc +@@ -141,7 +141,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); ++ const unsigned kSigStackSize = std::max<unsigned>(16384, SIGSTKSZ); + + // Only set an alternative stack if there isn't already one, or if the current + // one is too small. ===================================== debian/patches/series ===================================== @@ -3,3 +3,4 @@ add_missing_header.patch do_not_build_phylip.patch # only partly addressed by upstream use_debian_sqlite.patch +Fix-for-non-constant-SIGSTKSZ.patch View it on GitLab: https://salsa.debian.org/med-team/ugene/-/compare/8ebe3e854311e9b9c0b3570778a79dd962f1a79f...3d5cb3a7325ebd867f84b3bae60a84e8f42079c4 -- View it on GitLab: https://salsa.debian.org/med-team/ugene/-/compare/8ebe3e854311e9b9c0b3570778a79dd962f1a79f...3d5cb3a7325ebd867f84b3bae60a84e8f42079c4 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
