diff options
Diffstat (limited to 'sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch')
-rw-r--r-- | sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch b/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch new file mode 100644 index 000000000000..a345e9e872c7 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch @@ -0,0 +1,15 @@ +--- paraview-2.4.4/CMakeLists.txt 2006-06-29 09:01:13.000000000 -0400 ++++ paraview-2.4.4-new/CMakeLists.txt 2006-09-10 16:02:12.000000000 -0400 +@@ -382,7 +382,11 @@ + SET(VTKHDF5_INSTALL_NO_RUNTIME ${PV_INSTALL_NO_RUNTIME}) + SET(VTKHDF5_INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR}) + SET(PARAVIEW_HDF5_LIBRARIES vtkhdf5) +- SET(HDF5_ZLIB_HEADER "vtk_zlib.h") ++ IF(VTK_USE_SYSTEM_ZLIB) ++ SET(HDF5_ZLIB_HEADER "zlib.h") ++ ELSE(VTK_USE_SYSTEM_ZLIB) ++ SET(HDF5_ZLIB_HEADER "vtk_zlib.h") ++ ENDIF(VTK_USE_SYSTEM_ZLIB) + SET(HDF5_INCLUDE_DIR + ${ParaView_SOURCE_DIR}/Utilities/hdf5 + ${ParaView_BINARY_DIR}/Utilities/hdf5) |