Source: slashem Version: 0.0.7E7F3-6 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/slashem 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.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 [-Wreturn-type] Author: Nicolas Sévelin-Radiguet <[email protected]> Last-Update: 2014-03-11 --- a/win/gtk/gtkmap.c +++ b/win/gtk/gtkmap.c @@ -615,7 +615,7 @@ nh_set_map_font(gchar *name) { PangoFontDescription *desc; - g_return_if_fail(name != NULL); + g_return_val_if_fail(name != NULL, 0); if (map_font_name) { if (!strcmp(name, map_font_name)) return 0;

