Package: bognor-regis
Severity: minor
Usertags: clang-ftbfs
User: [email protected]
Tag: patch


Hello,

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

Thanks,
Arthur
diff -Naur bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/changelog bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/changelog
--- bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/changelog	2014-02-24 20:13:13.407483023 -0600
+++ bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/changelog	2014-02-24 20:17:28.591487466 -0600
@@ -1,3 +1,11 @@
+bognor-regis (0.6.12+git20101007.02c25268-9) unstable; urgency=low
+
+  * Fix the FTBFS with clang:
+    - Fixed the non-void function should return a value in
+    src/bognor-upnp-cp.c
+
+ -- Arthur Marble <[email protected]>  Mon, 24 Feb 2014 20:17:28 -0600
+
 bognor-regis (0.6.12+git20101007.02c25268-8) unstable; urgency=low
 
   [ Michael Biebl <[email protected]> ]
diff -Naur bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/clang-ftbfs.diff bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/clang-ftbfs.diff 
--- bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/clang-ftbfs.diff	2014-02-24 20:15:49.407485739 -0600
@@ -0,0 +1,11 @@
+--- a/src/bognor-upnp-cp.c
++++ b/src/bognor-upnp-cp.c
+@@ -114,7 +114,7 @@ make_device_description (GUPnPContext *c
+         root = xmld->children;
+     } else {
+         g_warning ("%s has no root node", base_doc);
+-        return;
++        return NULL;
+     }
+ 
+     baseurl = g_strdup_printf ("http://%s:%u";,
diff -Naur bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/series bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/series --- bognor-regis.orig/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/series	2014-02-24 20:13:13.407483023 -0600
+++ bognor-regis/bognor-regis-0.6.12+git20101007.02c25268/debian/patches/series	2014-02-24 20:13:36.267483421 -0600
@@ -1,3 +1,4 @@
 port_to_tracker-sparql-0.16.patch
 fix_libnotify0.7_compatibility.patch
 prototype-bgr-item-new.patch
+clang-ftbfs.diff

Reply via email to