[ftools-fv] 02/03: [Nicolas Sévelin-Radiguet] fix FTBFS with clang instead of gcc. Closes: #743702

Ole Streicher olebole-guest at moszumanska.debian.org
Sun Apr 6 11:04:31 UTC 2014


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

olebole-guest pushed a commit to branch debian
in repository ftools-fv.

commit e3c1e85fdc0d06a96906b807f7c22b2dfaf9277b
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sun Apr 6 12:41:30 2014 +0200

    [Nicolas Sévelin-Radiguet] fix FTBFS with clang instead of gcc. Closes: #743702
---
 debian/changelog                              |  2 ++
 debian/patches/clang_FTBFS_Wreturn-type.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 89037cb..927067b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 ftools-fv (5.3+dfsg-5) unstable; urgency=low
 
   * Change maintainer to debian-astro
+  * [Nicolas Sévelin-Radiguet] Fix FTBFS with clang instead of gcc. 
+    Closes: #743702
 
  -- Ole Streicher <debian at liska.ath.cx>  Sun, 06 Apr 2014 12:37:03 +0200
 
diff --git a/debian/patches/clang_FTBFS_Wreturn-type.patch b/debian/patches/clang_FTBFS_Wreturn-type.patch
new file mode 100644
index 0000000..e7146f3
--- /dev/null
+++ b/debian/patches/clang_FTBFS_Wreturn-type.patch
@@ -0,0 +1,24 @@
+Description: fix FTBFS with clang instead of gcc
+Author: Nicolas Sévelin-Radiguet <nicosr at free.fr>
+Last-Update: 2014-04-05
+
+--- a/tcltk/pow/PowUtils.c
++++ b/tcltk/pow/PowUtils.c
+@@ -664,7 +664,7 @@
+             sprintf (errormsg, "Couldn't construct WCS information: %s", WCSpih_Message[status]);
+             Tcl_SetResult(interp, errormsg ,TCL_VOLATILE);
+             Tcl_SetVar(interp,"powWCSTranslation", WCSpih_Message[status] ,TCL_GLOBAL_ONLY);
+-            return;
++            return -1;
+          }
+ 
+          listObj = Tcl_NewObj();
+@@ -791,7 +791,7 @@
+             sprintf (errormsg, "Couldn't construct WCS information: %s", WCSpih_Message[status]);
+             Tcl_SetResult(interp, errormsg ,TCL_VOLATILE);
+             Tcl_SetVar(interp,"powWCSTranslation", WCSpih_Message[status] ,TCL_GLOBAL_ONLY);
+-            return;
++            return -1;
+          }
+ 
+          listObj = Tcl_NewObj();
diff --git a/debian/patches/series b/debian/patches/series
index aa99f46..0c718b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ fv_require.patch
 fv_fix_initial_menubar.patch
 fv_fix_startup.patch
 fv_fix_sample.patch
+clang_FTBFS_Wreturn-type.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/ftools-fv.git



More information about the debian-science-commits mailing list