Source: ftools-fv
Version: 5.3+dfsg-4
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Dear Maintainer,

Your package fails to build with clang instead of gcc. [-Wreturn-type]
The attached patch fixes it.
Buildlogs and patch are here:
https://github.com/nonas/debian-clang/tree/master/buildlogs/ftools-fv

Regards,
Nicolas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: fix FTBFS with clang instead of gcc
Author: Nicolas Sévelin-Radiguet <nic...@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();
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to