File: 0006-Drop-hdf5-from_LIBMINC_LIBRARIES_CONFIG.patch

package info (click to toggle)
libminc 2.4.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,288 kB
  • sloc: ansic: 57,268; cpp: 3,654; sh: 100; makefile: 23; ruby: 18
file content (20 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Gilles Filippini <pini@debian.org>
Last-Update: Wed, 12 Nov 2025
Bug-Debian: https://bugs.debian.org/1120574
Description: Support for cmake built HDF5 - Fix insighttoolkit5 FTBFS

Index: libminc-2.4.07/CMakeLists.txt
===================================================================
--- libminc-2.4.07.orig/CMakeLists.txt
+++ libminc-2.4.07/CMakeLists.txt
@@ -425,8 +425,8 @@ ENDIF()
 get_filename_component(HDF5_LIBRARY_NAME "${HDF5_LIBRARY}" NAME)
 get_filename_component(ZLIB_LIBRARY_NAME "${ZLIB_LIBRARY}" NAME)
 
-SET(LIBMINC_LIBRARIES        ${LIBMINC_LIBRARY} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY})
-SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARY} ${HDF5_LIBRARY_NAME} ${NIFTI_LIBRARY_NAME} ${ZNZ_LIBRARY_NAME} ${ZLIB_LIBRARY_NAME})
+SET(LIBMINC_LIBRARIES        ${LIBMINC_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY})
+SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARY} ${NIFTI_LIBRARY_NAME} ${ZNZ_LIBRARY_NAME} ${ZLIB_LIBRARY_NAME})
 message("LIBMINC_LIBRARIES_CONFIG=${LIBMINC_LIBRARIES_CONFIG}")
 
 SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY})