dev-cpp/tbb: fix abort by add #include

Closes: https://bugs.gentoo.org/948663
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-03-27 12:30:35 +01:00
parent d4baa7f99b
commit ae4c791398
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/test/common/utils_assert.h 2026-03-27 11:39:14.886058730 +0100
+++ b/test/common/utils_assert.h 2026-03-27 11:40:24.429306039 +0100
@@ -20,6 +20,8 @@
#include "config.h"
#include "utils_report.h"
+#include <cstdlib>
+
#define REPORT_FATAL_ERROR REPORT
namespace utils {

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2021.7.0-pthread-eagain.patch
"${FILESDIR}"/${PN}-2021.7.0-abort.patch
)
src_configure() {