[Debian-astro-commits] [cpl-plugin-vimos] 01/01: Fix ImplicitPointerConversion of tempnam.

Ole Streicher olebole at moszumanska.debian.org
Thu Oct 29 10:22:34 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 a501470f004cbad3f798a3645ee1fff4e04c04d2
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Oct 29 11:17:07 2015 +0100

    Fix ImplicitPointerConversion of tempnam.
---
 debian/changelog             |  6 ++++++
 debian/patches/series        |  1 +
 debian/patches/tempnam.patch | 16 ++++++++++++++++
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 47b7280..1642fef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl-plugin-vimos (3.0.6+dfsg-3) unstable; urgency=low
+
+  * Fix ImplicitPointerConversion of tempnam.
+
+ -- Ole Streicher <olebole at debian.org>  Thu, 29 Oct 2015 11:16:31 +0100
+
 cpl-plugin-vimos (3.0.6+dfsg-2) unstable; urgency=low
 
   * Fix FTBS for big endian (taken from cpl-plugin-fors)
diff --git a/debian/patches/series b/debian/patches/series
index c775e5a..b4c3edf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ dont_build_sextractor.patch
 fix_test_fail.patch
 force-serial-tests.patch
 fix_hdr_endianess_fail.patch
+tempnam.patch
diff --git a/debian/patches/tempnam.patch b/debian/patches/tempnam.patch
new file mode 100644
index 0000000..fe38cb8
--- /dev/null
+++ b/debian/patches/tempnam.patch
@@ -0,0 +1,16 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Define XOPEN to explicitely declare tempnam()
+ Otherwise, tempnam gets the default "int" return value which will breakcause
+ an implicit pointer conversion that may fail since
+ sizeof(int) != sizeof(void *).
+--- a/vimos/Makefile.am
++++ b/vimos/Makefile.am
+@@ -29,7 +29,7 @@
+ endif
+ 
+ 
+-AM_CPPFLAGS = $(HDRL_INCLUDES) $(MOSCA_INCLUDES) $(GSL_CFLAGS) $(all_includes)
++AM_CPPFLAGS = -D_XOPEN_SOURCE $(HDRL_INCLUDES) $(MOSCA_INCLUDES) $(GSL_CFLAGS) $(all_includes)
+ 
+ pkginclude_HEADERS = vmadf.h vmadfifutable.h vmastrometrictable.h \
+ 	vmccdtable.h vmcpl.h vmcube.h vmdetector.h vmdistmodels.h \

-- 
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