From eb2235d914984bff74c625de4fa4887d4f86f971 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Oct 2022 19:13:18 +0100 Subject: gentoo auto-resync : 02:10:2022 - 19:13:17 --- .../files/leatherman-1.12.6-SIGSTKSZ.patch | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch (limited to 'dev-libs/leatherman/files/leatherman-1.12.6-SIGSTKSZ.patch') 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 - - 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 = ""; -@@ -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 - -- cgit v1.2.3