File: fix-warnings.patch

package info (click to toggle)
magics%2B%2B 4.16.0%2Breally4.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372,992 kB
  • sloc: cpp: 169,061; xml: 37,612; fortran: 26,295; python: 19,863; perl: 8,096; ansic: 4,660; javascript: 2,298; sh: 1,475; csh: 136; f90: 97; makefile: 86
file content (14 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: magics++-4.8.0/src/magics_config.h.in
===================================================================
--- magics++-4.8.0.orig/src/magics_config.h.in
+++ magics++-4.8.0/src/magics_config.h.in
@@ -71,7 +71,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