Package: cimg / 1.7.9+dfsg-1

30_do_not_build_minc2_examples.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Andreas Tille <tille@debian.org>
Description: Do not build minc format file examples
 There seems to be some change in parallel to cimg-dev 1.5 in minc library which leads to
   ../CImg.h:298:35: fatal error: minc_io_simple_volume.h: No such file or directory
 if this is not commented out

--- a/examples/Makefile
+++ b/examples/Makefile
@@ -203,10 +203,10 @@ CIMG_TIFF_LIBS = -ltiff
 
 # Flags to enable native support for MINC2 image files, using the MINC2 library.
 # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide )
-CIMG_MINC2_DEFINE = -Dcimg_use_minc2
-CIMG_MINC2_INCDIR = -I${HOME}/local/include
-CIMG_MINC2_CFLAGS = $(CIMG_MINC2_DEFINE) $(CIMG_MINC2_INCDIR)
-CIMG_MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
+#CIMG_MINC2_DEFINE = -Dcimg_use_minc2
+#CIMG_MINC2_INCDIR = -I${HOME}/local/include
+#CIMG_MINC2_CFLAGS = $(CIMG_MINC2_DEFINE) $(CIMG_MINC2_INCDIR)
+#CIMG_MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
 
 # Flags to enable native support for EXR image files, using the OpenEXR library.
 # ( http://www.openexr.com/ )