[Debian-astro-commits] [cpl-plugin-xsh] 01/03: Fix FTBS on big endian machines

Ole Streicher olebole at moszumanska.debian.org
Mon Sep 7 08:38:06 UTC 2015


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

olebole pushed a commit to branch debian
in repository cpl-plugin-xsh.

commit 8e268b8fbb71fb4a276965f7b177a828c3aef05e
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Sep 7 10:13:42 2015 +0200

    Fix FTBS on big endian machines
---
 debian/changelog                            |  6 ++++++
 debian/patches/fix_hdr_endianess_fail.patch | 20 ++++++++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3cb83b1..3bb4eea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl-plugin-xshoo (2.6.5+dfsg-2) unstable; urgency=low
+
+  * Fix FTBS on big endian machines
+
+ -- Ole Streicher <olebole at debian.org>  Mon, 07 Sep 2015 10:12:16 +0200
+
 cpl-plugin-xshoo (2.6.5+dfsg-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/patches/fix_hdr_endianess_fail.patch b/debian/patches/fix_hdr_endianess_fail.patch
new file mode 100644
index 0000000..d18ea83
--- /dev/null
+++ b/debian/patches/fix_hdr_endianess_fail.patch
@@ -0,0 +1,20 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Fix truncation of cpl_size passed to int cpl_parameter
+Bug: PIPE-5461
+--- a/hdrl/hdrl_flat.c
++++ b/hdrl/hdrl_flat.c
+@@ -272,12 +272,12 @@
+     /* --prefix.filter_size_x */
+     hdrl_setup_vparameter(parlist, prefix, ".", "", "filter-size-x", base_context,
+             "Smoothing filter size in x-direction.", CPL_TYPE_INT,
+-            filter_size_x_def) ;
++            (int)filter_size_x_def) ;
+ 
+     /* --prefix.filter_size_y */
+     hdrl_setup_vparameter(parlist, prefix, ".", "", "filter-size-y", base_context,
+             "Smoothing filter size in y-direction.", CPL_TYPE_INT,
+-            filter_size_y_def) ;
++            (int)filter_size_y_def) ;
+ 
+     /* --prefix.method */
+     name = hdrl_join_string(".", 2, context, "method");
diff --git a/debian/patches/series b/debian/patches/series
index 93b89b2..cdb741b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ use-std-paths-for-cpl.patch
 lapack.patch
 force-serial-tests.patch
 add_cpldrs.patch
+fix_hdr_endianess_fail.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl-plugin-xsh.git



More information about the Debian-astro-commits mailing list