commit ef4efe2543323f2c58c9d84c2efae330dd8ce323
Author: Jakub Bogusz <[email protected]>
Date:   Wed Jul 11 19:13:05 2012 +0200

    - added link patch

 Field3D-link.patch | 22 ++++++++++++++++++++++
 Field3D.spec       |  2 ++
 2 files changed, 24 insertions(+)
---
diff --git a/Field3D-link.patch b/Field3D-link.patch
new file mode 100644
index 0000000..6d281a3
--- /dev/null
+++ b/Field3D-link.patch
@@ -0,0 +1,22 @@
+--- imageworks-Field3D-94d1bf3/CMakeLists.txt.orig     2012-02-04 
18:37:22.000000000 +0100
++++ imageworks-Field3D-94d1bf3/CMakeLists.txt  2012-07-11 19:04:10.092609331 
+0200
+@@ -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)
+@@ -86,6 +86,10 @@
+   PROPERTIES SOVERSION 1.3
+ )
+ 
++TARGET_LINK_LIBRARIES ( Field3D
++  ${HDF5_LIBRARIES} Iex Half dl boost_system
++)
++
+ SET ( Field3D_Target_Link_Libraries
+   Field3D
+   ${HDF5_LIBRARIES}
diff --git a/Field3D.spec b/Field3D.spec
index e4613ef..a4af097 100644
--- a/Field3D.spec
+++ b/Field3D.spec
@@ -8,6 +8,7 @@ Group:          Libraries
 #Source0Download: https://sites.google.com/site/field3d/downloads
 Source0:       
http://github.com/imageworks/Field3D/tarball/v%{version}#/%{name}-%{version}.tar.gz
 # Source0-md5: 98f225658977f339a734debe426694b9
+Patch0:                %{name}-link.patch
 URL:           http://opensource.imageworks.com/?p=field3d
 BuildRequires: cmake >= 2.8
 BuildRequires: boost-devel >= 1.34.0
@@ -59,6 +60,7 @@ Dokumentacja API biblioteki Field3D.
 
 %prep
 %setup -q -n imageworks-Field3D-94d1bf3
+%patch0 -p1
 
 %build
 # main build system is scons, but there is cmake alternative, which is 
slightly more usable in rpm building
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to