Package: pd-unauthorized
Version: 0.1-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/pd-unauthorized

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/countund.c
+++ b/countund.c
@@ -80,7 +80,7 @@
     if ( flimit < 0 )
     {
         post( "countund~: wrong count limit" );
-        return;
+        return NULL;
     }
     else
     {
@@ -110,7 +110,7 @@
         }
     }
     outlet_float( x->x_obj.ob_outlet, x->x_value );
-    return;
+    return NULL;
 }
 
 void countund_setup(void)
--- a/randomblock~.c
+++ b/randomblock~.c
@@ -76,7 +76,7 @@
     if ( flimit < 0 || flimit > RAND_MAX )
     {
         post( "randomblock~: wrong random limit" );
-        return;
+        return NULL;
     }
     else
     {

Reply via email to