mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-cpp/tbb: fix undefined __TBB_machine_fetchadd4
Closes: https://bugs.gentoo.org/827883 Signed-off-by: Alex Fan <alex.fan.q@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23878 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
https://github.com/oneapi-src/oneTBB/issues/186
|
||||
https://github.com/oneapi-src/oneTBB/pull/550
|
||||
https://bugs.gentoo.org/827883
|
||||
|
||||
From: Felix Yan <felixonmars@archlinux.org>
|
||||
Date: Thu, 7 Oct 2021 14:16:16 +0800
|
||||
Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550)
|
||||
|
||||
Upstream-Status: Merged in commit later than 2021.5.0
|
||||
|
||||
--- a/src/tbb/tools_api/ittnotify_config.h
|
||||
+++ b/src/tbb/tools_api/ittnotify_config.h
|
||||
@@ -147,6 +147,10 @@
|
||||
# define ITT_ARCH_IA32E 2
|
||||
#endif /* ITT_ARCH_IA32E */
|
||||
|
||||
+#ifndef ITT_ARCH_IA64
|
||||
+# define ITT_ARCH_IA64 3
|
||||
+#endif /* ITT_ARCH_IA64 */
|
||||
+
|
||||
#ifndef ITT_ARCH_ARM
|
||||
# define ITT_ARCH_ARM 4
|
||||
#endif /* ITT_ARCH_ARM */
|
||||
@@ -24,6 +24,8 @@ BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-lto.patch
|
||||
# bug 827883
|
||||
"${FILESDIR}"/${P}-missing-TBB_machine_fetchadd4.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -26,6 +26,8 @@ PATCHES=(
|
||||
# should be in.. 2022?
|
||||
"${FILESDIR}"/${PN}-2021.4.0-lto.patch
|
||||
"${FILESDIR}"/${PN}-2021.5.0-musl-deepbind.patch
|
||||
# bug 827883
|
||||
"${FILESDIR}"/${PN}-2021.4.0-missing-TBB_machine_fetchadd4.patch
|
||||
# need to verify this is in master
|
||||
"${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user