[Debian-astro-commits] [cpl-plugin-vimos] 01/01: Fix FTBS for big endian (taken from cpl-plugin-fors)
Ole Streicher
olebole at moszumanska.debian.org
Wed Oct 14 07:59:35 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-vimos.
commit 071d220e9ea10c75c476f65572edffb602049837
Author: Ole Streicher <olebole at debian.org>
Date: Wed Oct 14 09:59:03 2015 +0200
Fix FTBS for big endian (taken from cpl-plugin-fors)
---
debian/changelog | 6 +++++
debian/patches/fix_hdr_endianess_fail.patch | 42 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 49 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9fb24a1..47b7280 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl-plugin-vimos (3.0.6+dfsg-2) unstable; urgency=low
+
+ * Fix FTBS for big endian (taken from cpl-plugin-fors)
+
+ -- Ole Streicher <olebole at debian.org> Wed, 14 Oct 2015 08:57:45 +0200
+
cpl-plugin-vimos (3.0.6+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..dffd9bb
--- /dev/null
+++ b/debian/patches/fix_hdr_endianess_fail.patch
@@ -0,0 +1,42 @@
+From 8b10fccf58c54f51d3d13ad8c4b331c1ba260a49 Mon Sep 17 00:00:00 2001
+From: jtaylor <jtaylor at 318c8218-2dab-440d-9263-6f70bac63e5b>
+Date: Fri, 10 Oct 2014 08:24:55 +0000
+Subject: [PATCH] fix truncation of cpl_size passed to int cpl_parameter
+ (PIPE-5461)
+
+git-svn-id: http://svnhq2.hq.eso.org/p2/trunk/Pipelines/common/hdrl@166234 318c8218-2dab-440d-9263-6f70bac63e5b
+---
+ hdrl_utils.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+--- a/mosca/hdrl/hdrl_utils.c
++++ b/mosca/hdrl/hdrl_utils.c
+@@ -294,24 +294,24 @@
+ hdrl_setup_vparameter(parlist, prefix, ".", name_prefix,
+ "llx", base_context,
+ "Lower left x pos. (FITS) defining the region",
+- CPL_TYPE_INT, hdrl_rect_region_get_llx(defaults));
++ CPL_TYPE_INT, (int)hdrl_rect_region_get_llx(defaults));
+ /* --prefix.lly */
+ hdrl_setup_vparameter(parlist, prefix, ".", name_prefix,
+ "lly", base_context,
+ "Lower left y pos. (FITS) defining the region",
+- CPL_TYPE_INT, hdrl_rect_region_get_lly(defaults));
++ CPL_TYPE_INT, (int)hdrl_rect_region_get_lly(defaults));
+
+ /* --prefix.urx */
+ hdrl_setup_vparameter(parlist, prefix, ".", name_prefix,
+ "urx", base_context,
+ "Upper right x pos. (FITS) defining the region",
+- CPL_TYPE_INT, hdrl_rect_region_get_urx(defaults));
++ CPL_TYPE_INT, (int)hdrl_rect_region_get_urx(defaults));
+
+ /* --prefix.ury */
+ hdrl_setup_vparameter(parlist, prefix, ".", name_prefix,
+ "ury", base_context,
+ "Upper right y pos. (FITS) defining the region",
+- CPL_TYPE_INT, hdrl_rect_region_get_ury(defaults));
++ CPL_TYPE_INT, (int)hdrl_rect_region_get_ury(defaults));
+
+ if (cpl_error_get_code()) {
+ cpl_parameterlist_delete(parlist);
diff --git a/debian/patches/series b/debian/patches/series
index 1899f8a..c775e5a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ private_libpil.patch
dont_build_sextractor.patch
fix_test_fail.patch
force-serial-tests.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-vimos.git
More information about the Debian-astro-commits
mailing list