Package: magics++ / 4.5.3-1

fix-warnings.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: magics++-4.5.0/src/magics_config.h.in
===================================================================
--- magics++-4.5.0.orig/src/magics_config.h.in
+++ magics++-4.5.0/src/magics_config.h.in
@@ -77,7 +77,9 @@
 #cmakedefine MAGICS_COPYRIGHT_PERIOD
 
 /* Turn on the GeoTIFF output support */
+#ifndef HAVE_GEOTIFF
 #cmakedefine HAVE_GEOTIFF
+#endif
 
 /* Defines GIF output is supported. */
 #cmakedefine MAGICS_GIF