summaryrefslogtreecommitdiff
path: root/devel/tbb/files/patch-include-tbb-tbb_config.h
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2014-09-16 07:05:28 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2014-09-16 07:05:28 +0000
commit7373fd9b08fa07ecda437ac4f03a8b088cbe2346 (patch)
treef65e7ca6e3440ab6bd87779ba290801258dcee28 /devel/tbb/files/patch-include-tbb-tbb_config.h
parent- Remove unnecessary ${ARCH} wrappers around OPTIONS_DEFAULT_{i386|amd64} (diff)
Update devel/tbb to 4.3.0 and bump dependent ports' revisions
PR: 193214 Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com>
Diffstat (limited to 'devel/tbb/files/patch-include-tbb-tbb_config.h')
-rw-r--r--devel/tbb/files/patch-include-tbb-tbb_config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/tbb/files/patch-include-tbb-tbb_config.h b/devel/tbb/files/patch-include-tbb-tbb_config.h
new file mode 100644
index 000000000000..18b9fda12ab3
--- /dev/null
+++ b/devel/tbb/files/patch-include-tbb-tbb_config.h
@@ -0,0 +1,13 @@
+--- include/tbb/tbb_config.h.orig 2014-08-26 13:28:59.000000000 +0200
++++ include/tbb/tbb_config.h 2014-09-10 20:19:15.000000000 +0200
+@@ -481,6 +481,10 @@
+ However these functions are not defined anywhere. It seems that this problem was fixed later on
+ and RHEL got an updated version of gcc 4.1.2. **/
+ #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
++#elif __TBB_x86_32 && __TBB_GCC_VERSION == 40201 && !__clang__ && __FreeBSD__
++ /** Symbol '__sync_val_compare_and_swap_8' not defined
++ on FreeBSD 8.4/i386 and 9.2/i386 with base gcc **/
++ #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
+ #endif
+
+ #if __GNUC__ && __TBB_x86_64 && __INTEL_COMPILER == 1200