[magics] 02/03: Silence pointless warnings

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Apr 20 18:41:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository magics.

commit 116a59e034b08a95e7658f3565000b36c0002461
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Apr 20 17:17:01 2017 +0100

    Silence pointless warnings
---
 debian/patches/fix-warnings.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/fix-warnings.patch b/debian/patches/fix-warnings.patch
new file mode 100644
index 0000000..415eb64
--- /dev/null
+++ b/debian/patches/fix-warnings.patch
@@ -0,0 +1,14 @@
+Index: magics++-2.32.0/src/magics_config.h.in
+===================================================================
+--- magics++-2.32.0.orig/src/magics_config.h.in
++++ magics++-2.32.0/src/magics_config.h.in
+@@ -80,7 +80,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
diff --git a/debian/patches/series b/debian/patches/series
index 734381f..1270541 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ cmake-config.patch
 unique-ptr.patch
 numpy-fixes.patch
 rm-ksh.patch
+fix-warnings.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/magics.git



More information about the debian-science-commits mailing list