git: 85391211714c - main - devel/onetbb: remove not necessary anymore patch

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 29 Sep 2022 13:55:06 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85391211714cc7d0ccf71796ab1c21c5c49ba3ac

commit 85391211714cc7d0ccf71796ab1c21c5c49ba3ac
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-29 10:47:06 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-29 13:54:40 +0000

    devel/onetbb: remove not necessary anymore patch
---
 devel/onetbb/Makefile                                         |  4 ----
 .../files/extra-patch-src_tbb_tools__api_ittnotify__config.h  | 11 -----------
 2 files changed, 15 deletions(-)

diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile
index 1df4ea2a757b..452adf84091a 100644
--- a/devel/onetbb/Makefile
+++ b/devel/onetbb/Makefile
@@ -39,10 +39,6 @@ PLIST_SUB=	PCSUFX="${PCSUFX}"
 PCSUFX=	32
 .endif
 
-.if ${ARCH} == riscv64
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-src_tbb_tools__api_ittnotify__config.h
-.endif
-
 .if ${ARCH} == powerpc64
 CMAKE_ARGS+=	-DTBB_ENABLE_IPO:BOOL=OFF
 .endif
diff --git a/devel/onetbb/files/extra-patch-src_tbb_tools__api_ittnotify__config.h b/devel/onetbb/files/extra-patch-src_tbb_tools__api_ittnotify__config.h
deleted file mode 100644
index 17105704d4cf..000000000000
--- a/devel/onetbb/files/extra-patch-src_tbb_tools__api_ittnotify__config.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/tbb/tools_api/ittnotify_config.h.orig	2021-06-30 18:42:09 UTC
-+++ src/tbb/tools_api/ittnotify_config.h
-@@ -335,7 +335,7 @@ ITT_INLINE long
- __itt_interlocked_increment(volatile long* ptr) ITT_INLINE_ATTRIBUTE;
- ITT_INLINE long __itt_interlocked_increment(volatile long* ptr)
- {
--    return __TBB_machine_fetchadd4(ptr, 1) + 1L;
-+    return __atomic_fetch_add(ptr, 1L, __ATOMIC_SEQ_CST) + 1L;
- }
- #endif /* ITT_SIMPLE_INIT */
-