[tbb/f18] Fix build on PowerPC

Petr Machata pmachata at fedoraproject.org
Tue Aug 28 12:22:01 UTC 2012


commit 5eaf47d4d91483cea295445082d1e46f1ac8676a
Author: Petr Machata <pmachata at redhat.com>
Date:   Tue Aug 28 14:20:50 2012 +0200

    Fix build on PowerPC

 tbb.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/tbb.spec b/tbb.spec
index 506b2ec..2c077f4 100644
--- a/tbb.spec
+++ b/tbb.spec
@@ -10,7 +10,7 @@
 Summary: The Threading Building Blocks library abstracts low-level threading details
 Name: tbb
 Version: %{dotver}
-Release: 5.%{releasedate}%{?dist}
+Release: 6.%{releasedate}%{?dist}
 License: GPLv2 with exceptions
 Group: Development/Tools
 URL: http://threadingbuildingblocks.org/
@@ -38,6 +38,10 @@ Source8: tbbmalloc_proxy.pc
 
 Patch1: tbb-3.0-cxxflags.patch
 Patch2: tbb-4.0-mfence.patch
+
+# http://software.intel.com/en-us/forums/showthread.php?t=106373
+Patch3: tbb-4.0-cas.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libstdc++-devel
 # We need "arch" and "hostname" binaries:
@@ -79,6 +83,7 @@ C++ library.
 %setup -q -n %{sourcebasename}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" tbb_build_prefix=obj
@@ -138,6 +143,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %doc %{source_5}
 
 %changelog
+* Tue Aug 28 2012 Petr Machata <pmachata at redhat.com> - 4.0-6.20120408
+- Fix build on PowerPC
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0-5.20120408
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list