summaryrefslogtreecommitdiff
path: root/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch')
-rw-r--r--dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch b/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch
new file mode 100644
index 00000000000..c50e051c3d3
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch
@@ -0,0 +1,16 @@
+diff -up tbb40_20120408oss/include/tbb/tbb_machine.h\~ tbb40_20120408oss/include/tbb/tbb_machine.h
+--- tbb40_20120408oss/include/tbb/tbb_machine.h~ 2012-04-20 09:21:57.000000000 +0200
++++ tbb40_20120408oss/include/tbb/tbb_machine.h 2012-08-28 13:20:42.150456167 +0200
+@@ -373,8 +373,8 @@ void spin_wait_until_eq( const volatile
+ // - The operation assumes that the architecture consistently uses either little-endian or big-endian:
+ // it does not support mixed-endian or page-specific bi-endian architectures.
+ // This function is the only use of __TBB_BIG_ENDIAN.
+-#if (__TBB_BIG_ENDIAN!=-1)
+- #if ( __TBB_USE_GENERIC_PART_WORD_CAS)
++#if ( __TBB_USE_GENERIC_PART_WORD_CAS)
++ #if (__TBB_BIG_ENDIAN==-1)
+ #error generic implementation of part-word CAS was explicitly disabled for this configuration
+ #endif
+ template<typename T>
+
+Diff finished. Tue Aug 28 13:20:58 2012