[Field3D] Fix boost linking.

Richard Shaw hobbes1069 at fedoraproject.org
Thu Aug 9 21:55:00 UTC 2012


commit 94da07a8da42f151cebed09224882c72ed9e8506
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Thu Aug 9 16:54:57 2012 -0500

    Fix boost linking.

 Field3D-1.2.3-libboost.patch |   12 ++++++++++++
 Field3D.spec                 |    3 +++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/Field3D-1.2.3-libboost.patch b/Field3D-1.2.3-libboost.patch
new file mode 100644
index 0000000..c3aca36
--- /dev/null
+++ b/Field3D-1.2.3-libboost.patch
@@ -0,0 +1,12 @@
+diff -Naur imageworks-Field3D-94d1bf3.orig/CMakeLists.txt imageworks-Field3D-94d1bf3/CMakeLists.txt
+--- imageworks-Field3D-94d1bf3.orig/CMakeLists.txt	2012-02-04 11:37:22.000000000 -0600
++++ imageworks-Field3D-94d1bf3/CMakeLists.txt	2012-08-09 16:53:06.676930806 -0500
+@@ -39,7 +39,7 @@
+ 
+ FIND_PACKAGE (Doxygen)
+ FIND_PACKAGE (HDF5)
+-FIND_PACKAGE (Boost COMPONENTS thread program_options)
++FIND_PACKAGE (Boost COMPONENTS thread program_options system)
+ FIND_PACKAGE (ILMBase)
+ 
+ OPTION (INSTALL_DOCS "Automatically install documentation." ON)
diff --git a/Field3D.spec b/Field3D.spec
index 0c55d1f..170172b 100644
--- a/Field3D.spec
+++ b/Field3D.spec
@@ -13,6 +13,8 @@ URL:            https://sites.google.com/site/field3d/
 # https://nodeload.github.com/imageworks/Field3D/tarball/v1.3.2
 Source0:        imageworks-%{name}-v%{version}-0-%{githash1}.tar.gz
 
+Patch0:         Field3D-1.3.2-libboost.patch
+
 BuildRequires:  cmake doxygen
 BuildRequires:  hdf5-devel
 BuildRequires:  boost-devel
@@ -36,6 +38,7 @@ Development headers and documentation for %{name}.
 
 %prep
 %setup -q -n imageworks-%{name}-%{githash2}
+%patch0 -p1 -b .boost
 
 
 %build


More information about the scm-commits mailing list