[packages/vtk] - vtkNetCDF needs -lm for pow
baggins
baggins at pld-linux.org
Thu Nov 15 17:05:22 CET 2012
commit 4b3e109701a58d51693a623315e606e4f6bdbf97
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Nov 15 17:04:30 2012 +0100
- vtkNetCDF needs -lm for pow
vtk-vtknetcdf-lm.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/vtk-vtknetcdf-lm.patch b/vtk-vtknetcdf-lm.patch
new file mode 100644
index 0000000..83799d4
--- /dev/null
+++ b/vtk-vtknetcdf-lm.patch
@@ -0,0 +1,10 @@
+--- VTK/Utilities/vtknetcdf/CMakeLists.txt~ 2012-04-02 18:57:30.000000000 +0200
++++ VTK/Utilities/vtknetcdf/CMakeLists.txt 2012-11-15 12:48:08.386680992 +0100
+@@ -343,6 +343,7 @@
+ TARGET_LINK_LIBRARIES(vtkNetCDF ${VTK_HDF5_LIBRARIES})
+ endif()
+ ENDIF (NETCDF_ENABLE_NETCDF4)
++TARGET_LINK_LIBRARIES(vtkNetCDF -lm)
+
+ VTK_ADD_LIBRARY(vtkNetCDF_cxx ${netcdf_cxx_SOURCES})
+ TARGET_LINK_LIBRARIES(vtkNetCDF_cxx vtkNetCDF)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/bb64b81ab926ecdebe49d67c45ebee9f4c4c1153
More information about the pld-cvs-commit
mailing list