Package: linsmith
Version: 0.99.21-1
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/linsmith

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.14-2-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
--- linsmith-0.99.21.orig/src/element.c
+++ linsmith-0.99.21/src/element.c
@@ -305,6 +305,7 @@
 }
 
 
+void
 clear_element_lnlist(chart_lnlist *lnlst)
 {
   GList *l;
--- linsmith-0.99.21.orig/src/remote.c
+++ linsmith-0.99.21/src/remote.c
@@ -36,7 +36,7 @@
 remove_fifos(gpointer data)
 {
   // if not even enabled manually, just go away
-  if (pref.rem_mode != REMOTE_SOCK) return;
+  if (pref.rem_mode != REMOTE_SOCK) return -1;
   
 printf("Removing the remote pipes\n");
   close(pref.inpipe);

Reply via email to