Package: <pkg-name>
Severity: minor
Usertags: clang-ftbfs
User: pkg-llvm-t...@lists.alioth.debian.org
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

Thanks,
Arthur
diff -Naur almanah.orig/almanah-0.11.0/debian/changelog almanah/almanah-0.11.0/debian/changelog
--- almanah.orig/almanah-0.11.0/debian/changelog	2014-04-17 14:20:12.216199092 -0500
+++ almanah/almanah-0.11.0/debian/changelog	2014-04-19 15:28:31.686253045 -0500
@@ -1,3 +1,11 @@
+almanah (0.11.0-2) unstable; urgency=low
+
+  * Fix FTBFS with clang
+    - Fixed the non-void function should not return a value error in
+      src/widgets/tag.c
+
+ -- Arthur Marble <art...@info9.net>  Sat, 19 Apr 2014 15:28:31 -0500
+
 almanah (0.11.0-1) unstable; urgency=low
 
   * Imported Upstream version 0.11.0
diff -Naur almanah.orig/almanah-0.11.0/debian/patches/clang-ftbfs.diff almanah/almanah-0.11.0/debian/patches/clang-ftbfs.diff 
--- almanah.orig/almanah-0.11.0/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ almanah/almanah-0.11.0/debian/patches/clang-ftbfs.diff	2014-04-19 15:31:00.182249729 -0500
@@ -0,0 +1,22 @@
+--- a/src/widgets/tag.c
++++ b/src/widgets/tag.c
+@@ -436,7 +436,7 @@ almanah_tag_get_tag (AlmanahTag *tag_wid
+ 	return tag_widget->priv->tag;
+ }
+ 
+-void
++int
+ almanah_tag_remove (AlmanahTag *tag_widget)
+ {
+ 	g_return_val_if_fail (ALMANAH_IS_TAG (tag_widget), NULL);
+--- a/src/widgets/tag.h
++++ b/src/widgets/tag.h
+@@ -45,7 +45,7 @@ typedef struct {
+ GType        almanah_tag_get_type (void) G_GNUC_CONST;
+ GtkWidget   *almanah_tag_new      (const gchar *tag);
+ const gchar *almanah_tag_get_tag  (AlmanahTag *tag_widget);
+-void         almanah_tag_remove   (AlmanahTag *tag_widget);
++int          almanah_tag_remove   (AlmanahTag *tag_widget);
+ 
+ G_END_DECLS
+ 

Reply via email to