diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-28 10:27:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-28 10:27:13 +0100 |
commit | f4fc10428424904caf2035cffc442195cb088b2c (patch) | |
tree | 72f320d5963e55586cfdeed2b14c72b8191b6327 /media-video/bino/files | |
parent | fbd9734cedfe790955100b8e4ab3613457d77b1a (diff) |
gentoo resync : 28.07.2021
Diffstat (limited to 'media-video/bino/files')
-rw-r--r-- | media-video/bino/files/bino-1.6.7-gcc11.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-video/bino/files/bino-1.6.7-gcc11.patch b/media-video/bino/files/bino-1.6.7-gcc11.patch new file mode 100644 index 000000000000..8d4bf4070f36 --- /dev/null +++ b/media-video/bino/files/bino-1.6.7-gcc11.patch @@ -0,0 +1,30 @@ +https://git.marlam.de/gitweb/?p=bino.git;a=commitdiff;h=7997ad11eefe241bb85a27c50d009c99851d7b0b +https://bugs.gentoo.org/790128 + +From 7997ad11eefe241bb85a27c50d009c99851d7b0b Mon Sep 17 00:00:00 2001 +From: Martin Lambers <marlam@marlam.de> +Date: Sat, 27 Feb 2021 21:28:50 +0100 +Subject: [PATCH] fix compilation with C++ 17 compilers such as gcc 11 + +--- + src/base/dbg.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/base/dbg.cpp b/src/base/dbg.cpp +index 6c6234f..044be67 100644 +--- a/src/base/dbg.cpp ++++ b/src/base/dbg.cpp +@@ -74,8 +74,10 @@ namespace dbg + (void)sigaction(SIGFPE, &signal_handler, NULL); + (void)sigaction(SIGSEGV, &signal_handler, NULL); + #endif ++#if __cplusplus < 201700 + std::set_unexpected(exception_crash); + std::set_terminate(exception_crash); ++#endif + std::set_new_handler(oom_abort); + } + +-- +2.20.1 + |