summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-21 09:59:05 +0000
committerSam James <sam@gentoo.org>2023-02-21 10:00:53 +0000
commitdb75708351c07eb215d5b6635946ad4e9a4b424b (patch)
tree3f3d8542583caeaa6d60f58a36d74800f3eb0836 /dev-cpp/tbb/files
parentnet-proxy/mitmproxy: Remove old (diff)
downloadgentoo-db75708351c07eb215d5b6635946ad4e9a4b424b.tar.gz
gentoo-db75708351c07eb215d5b6635946ad4e9a4b424b.tar.bz2
gentoo-db75708351c07eb215d5b6635946ad4e9a4b424b.zip
dev-cpp/tbb: add 2021.8.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/tbb/files')
-rw-r--r--dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch b/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch
new file mode 100644
index 000000000000..84a0ba3dc7a1
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch
@@ -0,0 +1,26 @@
+https://github.com/oneapi-src/oneTBB/pull/1031
+
+From 363bf59bef2649b4d427788522da27c12f984a9a Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 21 Feb 2023 09:36:33 +0000
+Subject: [PATCH] test: common: include <cstdlib> for abort() (fix build with
+ GCC 13)
+
+GCC 13 (as usual for new compiler releases) shuffles around some
+internal includes and so <cstdint> etc is no longer transitively included.
+
+See https://www.gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/test/common/utils_assert.h
++++ b/test/common/utils_assert.h
+@@ -20,6 +20,8 @@
+ #include "config.h"
+ #include "utils_report.h"
+
++#include <cstdlib>
++
+ #define REPORT_FATAL_ERROR REPORT
+
+ namespace utils {
+