forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/onetbb/patches: Add oneapi-src/oneTBB@154cc73
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
build/pkgs/onetbb/patches/gcc13-154cc73ca4d359621202399cc0c3c91058e56e79.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From 154cc73ca4d359621202399cc0c3c91058e56e79 Mon Sep 17 00:00:00 2001 | ||
From: Sam James <[email protected]> | ||
Date: Wed, 22 Feb 2023 14:16:46 +0000 | ||
Subject: [PATCH] test: common: include <cstdlib> for abort() (fix build with | ||
GCC 13) (#1031) | ||
|
||
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 <[email protected]> | ||
--- | ||
test/common/utils_assert.h | 4 +++- | ||
1 file changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/test/common/utils_assert.h b/test/common/utils_assert.h | ||
index 1df8ae72ac..0123ab881e 100644 | ||
--- a/test/common/utils_assert.h | ||
+++ b/test/common/utils_assert.h | ||
@@ -1,5 +1,5 @@ | ||
/* | ||
- Copyright (c) 2005-2022 Intel Corporation | ||
+ Copyright (c) 2005-2023 Intel Corporation | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
@@ -20,6 +20,8 @@ | ||
#include "config.h" | ||
#include "utils_report.h" | ||
|
||
+#include <cstdlib> | ||
+ | ||
#define REPORT_FATAL_ERROR REPORT | ||
|
||
namespace utils { |