diff options
author | Carl Smedstad | 2023-07-25 16:00:26 +0200 |
---|---|---|
committer | Carl Smedstad | 2023-07-25 16:03:42 +0200 |
commit | e83279a6e1ae7483e45cec3860344c6ce4537b48 (patch) | |
tree | 991d08036ed28372e6a78b4a539d67c55633c42b /fix-catch-glibc-compatibility.patch | |
parent | 7219bd554fab629dbe67ed376ee9c0d93e9f6e5e (diff) | |
download | aur-e83279a6e1ae7483e45cec3860344c6ce4537b48.tar.gz |
Publish version 6.0-5 - Run tests
Diffstat (limited to 'fix-catch-glibc-compatibility.patch')
-rw-r--r-- | fix-catch-glibc-compatibility.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/fix-catch-glibc-compatibility.patch b/fix-catch-glibc-compatibility.patch new file mode 100644 index 000000000000..c8d1401ffb15 --- /dev/null +++ b/fix-catch-glibc-compatibility.patch @@ -0,0 +1,31 @@ +diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp +index 6f9334ba..9730e8fe 100644 +--- a/fuzzylite/test/catch.hpp ++++ b/fuzzylite/test/catch.hpp +@@ -6375,7 +6375,7 @@ namespace Catch { + static bool isSet; + static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)]; + static stack_t oldSigStack; +- static char altStackMem[SIGSTKSZ]; ++ static char altStackMem[4000]; + + static void handleSignal( int sig ) { + std::string name = "<unknown signal>"; +@@ -6395,7 +6395,7 @@ namespace Catch { + isSet = true; + stack_t sigStack; + sigStack.ss_sp = altStackMem; +- sigStack.ss_size = SIGSTKSZ; ++ sigStack.ss_size = 4000; + sigStack.ss_flags = 0; + sigaltstack(&sigStack, &oldSigStack); + struct sigaction sa = { 0 }; +@@ -6426,7 +6426,7 @@ namespace Catch { + bool FatalConditionHandler::isSet = false; + struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {}; + stack_t FatalConditionHandler::oldSigStack = {}; +- char FatalConditionHandler::altStackMem[SIGSTKSZ] = {}; ++ char FatalConditionHandler::altStackMem[4000] = {}; + + } // namespace Catch + |