[cpl-plugin-fors] 01/02: Fix FTBS on big endian. Thanks to Julian Taylor for the patch.
Ole Streicher
olebole-guest at moszumanska.debian.org
Fri Oct 10 12:09:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository cpl-plugin-fors.
commit 34d25fc6a8a77604fd21275b5fde56fc8d3aa64e
Author: Ole Streicher <olebole at debian.org>
Date: Fri Oct 10 14:08:28 2014 +0200
Fix FTBS on big endian. Thanks to Julian Taylor for the patch.
---
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 971cf73..3e69e5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl-plugin-fors (5.0.0+dfsg-2) unstable; urgency=low
+
+ * Fix FTBS on big endian. Thanks to Julian Taylor for the patch.
+
+ -- Ole Streicher <olebole at debian.org> Fri, 10 Oct 2014 14:00:41 +0200
+
cpl-plugin-fors (5.0.0+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 48b2e5c..6a4d705 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ dont_build_sextractor.patch
disable_tests_libmosca.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-fors.git
More information about the debian-science-commits
mailing list