summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/patches/tbb-gcc-14.patch13
-rw-r--r--gnu/packages/tbb.scm4
2 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/patches/tbb-gcc-14.patch b/gnu/packages/patches/tbb-gcc-14.patch
new file mode 100644
index 00000000000..06e9640c78a
--- /dev/null
+++ b/gnu/packages/patches/tbb-gcc-14.patch
@@ -0,0 +1,13 @@
+Upstream-status: Not presented upstream.
+
+--- tbb-2021.6.0-checkout/test/common/utils_assert.h 1970-01-01 01:00:01.000000000 +0100
++++ tbb-2021.6.0-checkout/test/common/utils_assert.h 2025-01-02 16:35:04.800740811 +0100
+@@ -20,6 +20,8 @@
+ #include "config.h"
+ #include "utils_report.h"
+
++#include <cstdlib>
++
+ #define REPORT_FATAL_ERROR REPORT
+
+ namespace utils {
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index da3ea74fb60..79a620c2a30 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,7 +46,8 @@
(sha256
(base32
"039v4jmnkkxs7haxrfmk9j57vfbrwlhjynlm5byfaqddv4cbsy0p"))
- (patches (search-patches "tbb-other-arches.patch"))))
+ (patches (search-patches "tbb-other-arches.patch"
+ "tbb-gcc-14.patch"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags