[magics] 06/10: Compile fix : missing variable

Alastair McKinstry mckinstry at moszumanska.debian.org
Sun Jan 10 15:59:10 UTC 2016


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

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

commit e9fc791a2f38244bc3dd7884203ebe119588c73f
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Jan 9 18:59:16 2016 +0000

    Compile fix : missing variable
---
 debian/patches/compile-fixes.patch | 15 +++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/compile-fixes.patch b/debian/patches/compile-fixes.patch
new file mode 100644
index 0000000..c61857b
--- /dev/null
+++ b/debian/patches/compile-fixes.patch
@@ -0,0 +1,15 @@
+Index: magics++-2.26.2/src/drivers/CairoDriver.cc
+===================================================================
+--- magics++-2.26.2.orig/src/drivers/CairoDriver.cc
++++ magics++-2.26.2/src/drivers/CairoDriver.cc
+@@ -539,8 +539,8 @@ MAGICS_NO_EXPORT void CairoDriver::write
+ 
+     // DPI
+     TIFFSetField(tif, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH);
+-    TIFFSetField(tif, TIFFTAG_XRESOLUTION, (float) resolution_);
+-    TIFFSetField(tif, TIFFTAG_YRESOLUTION, (float) resolution_);
++    // TIFFSetField(tif, TIFFTAG_XRESOLUTION, (float) resolution_);
++    // TIFFSetField(tif, TIFFTAG_YRESOLUTION, (float) resolution_);
+ 
+     unsigned char *buf;
+     if (TIFFScanlineSize(tif))
diff --git a/debian/patches/series b/debian/patches/series
index a791b9f..1b42f1e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ terralib.patch
 #geotiff.patch
 soname-version.patch
 reproducibility.patch
+compile-fixes.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