diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-25 07:11:56 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-25 07:11:56 +0000 |
| commit | 623185c982b63cb1a3648fd547d634ce7db7d731 (patch) | |
| tree | 8cca341055d3a6a48065f95616f2ac6103c365c3 /sci-visualization | |
| parent | 00ae7917936dcce4c0ff3c6dc8ada15ee24ff8af (diff) | |
| download | baldeagleos-repo-623185c982b63cb1a3648fd547d634ce7db7d731.tar.gz baldeagleos-repo-623185c982b63cb1a3648fd547d634ce7db7d731.tar.xz baldeagleos-repo-623185c982b63cb1a3648fd547d634ce7db7d731.zip | |
Adding metadata
Diffstat (limited to 'sci-visualization')
| -rw-r--r-- | sci-visualization/fityk/files/fityk-1.3.2-fixTest.patch | 51 | ||||
| -rw-r--r-- | sci-visualization/fityk/fityk-1.3.2-r1.ebuild | 4 |
2 files changed, 54 insertions, 1 deletions
diff --git a/sci-visualization/fityk/files/fityk-1.3.2-fixTest.patch b/sci-visualization/fityk/files/fityk-1.3.2-fixTest.patch new file mode 100644 index 000000000000..8b15c0396473 --- /dev/null +++ b/sci-visualization/fityk/files/fityk-1.3.2-fixTest.patch @@ -0,0 +1,51 @@ +--- a/tests/catch.hpp 2026-04-24 20:20:40.032125716 +0200 ++++ b/tests/catch.hpp 2026-04-24 20:22:00.026203328 +0200 +@@ -6442,6 +6442,7 @@ + #include <signal.h> + + namespace Catch { ++ #define STKSZ 32768 + + struct SignalDefs { + int id; +@@ -6462,7 +6463,7 @@ + static bool isSet; + static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)]; + static stack_t oldSigStack; +- static char altStackMem[SIGSTKSZ]; ++ static char altStackMem[STKSZ]; + + static void handleSignal( int sig ) { + std::string name = "<unknown signal>"; +@@ -6482,7 +6483,7 @@ + isSet = true; + stack_t sigStack; + sigStack.ss_sp = altStackMem; +- sigStack.ss_size = SIGSTKSZ; ++ sigStack.ss_size = STKSZ; + sigStack.ss_flags = 0; + sigaltstack(&sigStack, &oldSigStack); + struct sigaction sa = { 0 }; +@@ -6513,7 +6514,7 @@ + bool FatalConditionHandler::isSet = false; + struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {}; + stack_t FatalConditionHandler::oldSigStack = {}; +- char FatalConditionHandler::altStackMem[SIGSTKSZ] = {}; ++ char FatalConditionHandler::altStackMem[STKSZ] = {}; + + } // namespace Catch + +--- a/tests/mpfit_deriv.cpp 2026-04-24 22:00:24.322216420 +0200 ++++ b/tests/mpfit_deriv.cpp 2026-04-24 22:00:37.952059586 +0200 +@@ -5,11 +5,8 @@ + // both user-calculated and MPFIT-calculated numerical derivatives + // are printed to stdout. This test is half-manual. + +-namespace fityk { extern bool debug_deriv_in_mpfit; } +- + int main() + { +- fityk::debug_deriv_in_mpfit=true; + fityk::Fityk* ftk = new fityk::Fityk; + ftk->execute("set verbosity=-1"); + ftk->execute("set pseudo_random_seed=1234567"); diff --git a/sci-visualization/fityk/fityk-1.3.2-r1.ebuild b/sci-visualization/fityk/fityk-1.3.2-r1.ebuild index b60b5c54ce65..cf6853ab5eb5 100644 --- a/sci-visualization/fityk/fityk-1.3.2-r1.ebuild +++ b/sci-visualization/fityk/fityk-1.3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,8 @@ RDEPEND="${DEPEND} " BDEPEND="dev-lang/swig" +PATCHES=( "${FILESDIR}"/${P}-fixTest.patch ) + src_configure() { # codebase relies on dynamic exception specifications # for SWIG, no point in trying to fix at this point. |
