Package: lcrt
Version: 1.1.2-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/lcrt

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

--- a/src/ifind.c
+++ b/src/ifind.c
@@ -83,7 +83,7 @@
         break;
     default:
         printf("%s: unkown flag\n", __func__);
-        return;
+        return NULL;
     }
     gtk_window_set_transient_for(GTK_WINDOW(dialog_find), 
             GTK_WINDOW(lfind->parent_window));
--- a/src/ssh.c
+++ b/src/ssh.c
@@ -874,7 +874,7 @@
              * FIXME: There is no more memory, how can 
              * we handle this exception ?
              */
-            return;
+            return NULL;
         }
 
         lcrt_user_find_unused_label(lwindow, hostname, name);
--- a/src/telnet.c
+++ b/src/telnet.c
@@ -339,7 +339,7 @@
              * FIXME: There is no more memory, how can 
              * we handle this exception ?
              */
-            return;
+            return NULL;
         }
 
         lcrt_user_find_unused_label(lwindow, hostname, name);

Reply via email to