Source: libnsgif
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.

Best regards,
Alexander

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- libnsgif-0.0.1/src/libnsgif.c	2009-03-28 21:43:27.000000000 -0400
+++ libnsgif-0.0.1-my/src/libnsgif.c	2014-03-15 12:49:47.686332026 -0400
@@ -909,7 +909,8 @@
 		 *	image, find the last image set to "do not dispose" and get that frame data
 		*/
 		} else if ((frame != 0) && (gif->frames[frame - 1].disposal_method == GIF_FRAME_RESTORE)) {
-			while ((last_undisposed_frame != -1) && (gif->frames[--last_undisposed_frame].disposal_method == GIF_FRAME_RESTORE));
+			while ((last_undisposed_frame != -1) && (gif->frames[--last_undisposed_frame].disposal_method == GIF_FRAME_RESTORE)) {
+            }
 				/*	If we don't find one, clear the frame data
 				*/
 				if (last_undisposed_frame == -1) {

Reply via email to