summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-10-01 14:14:49 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-10-02 16:42:22 +0200
commit13b6bca6356c84af75dd4589e1a5358297535d10 (patch)
treeacc2f4fed5596b9bf5376573602568516838feb0 /dev-libs/leatherman
parentsys-libs/zlib: remove unused patch (diff)
downloadgentoo-13b6bca6356c84af75dd4589e1a5358297535d10.tar.gz
gentoo-13b6bca6356c84af75dd4589e1a5358297535d10.tar.bz2
gentoo-13b6bca6356c84af75dd4589e1a5358297535d10.zip
dev-libs/leatherman: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/27557 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch b/dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch
deleted file mode 100644
index e6c7349e814b..000000000000
--- a/dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Naur a/src/Catch-1.10.0/single_include/catch.hpp b/src/Catch-1.10.0/single_include/catch.hpp
---- a/src/Catch-1.10.0/single_include/catch.hpp 2021-07-05 07:30:43.000000000 -0500
-+++ b/src/Catch-1.10.0/single_include/catch.hpp 2021-12-17 01:34:41.000000000 -0600
-@@ -6447,6 +6447,14 @@
-
- # else // CATCH_CONFIG_POSIX_SIGNALS is defined
-
-+# if defined(_SC_SIGSTKSZ_SOURCE) || defined(_GNU_SOURCE)
-+// on glibc > 2.33 this is no longer constant, see
-+// https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD
-+static constexpr std::size_t sigStackSize = 32768;
-+# else
-+static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
-+# endif
-+
- #include <signal.h>
-
- namespace Catch {
-@@ -6470,7 +6478,7 @@
- static bool isSet;
- static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
- static stack_t oldSigStack;
-- static char altStackMem[SIGSTKSZ];
-+ static char altStackMem[sigStackSize];
-
- static void handleSignal( int sig ) {
- std::string name = "<unknown signal>";
-@@ -6490,7 +6498,7 @@
- isSet = true;
- stack_t sigStack;
- sigStack.ss_sp = altStackMem;
-- sigStack.ss_size = SIGSTKSZ;
-+ sigStack.ss_size = sigStackSize;
- sigStack.ss_flags = 0;
- sigaltstack(&sigStack, &oldSigStack);
- struct sigaction sa = { 0 };
-@@ -6521,7 +6529,7 @@
- bool FatalConditionHandler::isSet = false;
- struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
- stack_t FatalConditionHandler::oldSigStack = {};
-- char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
-+ char FatalConditionHandler::altStackMem[sigStackSize] = {};
-
- } // namespace Catch
-