commit:     13b6bca6356c84af75dd4589e1a5358297535d10
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Oct  1 12:14:49 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 14:42:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b6bca6

dev-libs/leatherman: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27557
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/leatherman-1.12.6-SIGSTKSZ.patch         | 45 ----------------------
 1 file changed, 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
- 

Reply via email to