Package: ircp-tray
Version: 0.7.6-1.1
Severity: minor
Tags: patch
User: [email protected]
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/ircp-tray

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 <[email protected]>
Last-Update: 2014-03-30

--- a/src/sendfile.c
+++ b/src/sendfile.c
@@ -115,7 +115,7 @@
 	if(sendsess->ircp_client == NULL) {
 		printf("Error opening ircp-client\n");
 		g_free(sendsess);
-		return;
+		return NULL;
 	}
 
 	//connect to remote
@@ -135,7 +135,7 @@
 
 		ircp_cli_close(sendsess->ircp_client);
 		g_free(sendsess);
-		return;
+		return NULL;
 	}
 
 	remote_u = filename_to_utf8(filename);

Reply via email to