Source: libitl-gobject Version: 0.2-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/libit-gobject0 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-03-23 --- a/itl-gobject.c +++ b/itl-gobject.c @@ -654,7 +654,7 @@ GList *Prayers=NULL; Prayer ITLPrayer[6]; - g_return_if_fail (GOBJECT_IS_PRAYER (prayer)); + g_return_val_if_fail (GOBJECT_IS_PRAYER (prayer), 0); g_object_ref (prayer); @@ -712,7 +712,7 @@ Prayer cPrayer; GDateTime *NextDayFajr; - g_return_if_fail (GOBJECT_IS_PRAYER (prayer)); + g_return_val_if_fail (GOBJECT_IS_PRAYER (prayer), 0); g_object_ref (prayer); @@ -746,7 +746,7 @@ { gdouble NorthQibla; - g_return_if_fail (GOBJECT_IS_PRAYER (prayer)); + g_return_val_if_fail (GOBJECT_IS_PRAYER (prayer), 0); g_object_ref (prayer);