Source: sdl-mixer1.2
Version: 1.2.12-10
Severity: minor
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 improves it but does not fix it. The build now dies with a 
different error.
Buildlogs and partial patch are here:
https://github.com/nonas/debian-clang/tree/master/buildlogs/sdl-mixer

Hope this helps,
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.12-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
Last-Update: 2014-03-11
--- a/music_mad.c
+++ b/music_mad.c
@@ -224,7 +224,7 @@
   if ((mp3_mad->status & MS_playing) == 0) {
 	/* We're not supposed to be playing, so send silence instead. */
 	memset(stream, 0, len);
-	return;
+	return  0;
   }
 
   out = stream;

Reply via email to