Package: <pkg-name>
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 qutecom.orig/qutecom-2.2.1+dfsg1/debian/changelog qutecom/qutecom-2.2.1+dfsg1/debian/changelog
--- qutecom.orig/qutecom-2.2.1+dfsg1/debian/changelog	2014-03-01 02:54:11.000000000 -0600
+++ qutecom/qutecom-2.2.1+dfsg1/debian/changelog	2014-04-17 13:53:14.156170915 -0500
@@ -1,3 +1,13 @@
+qutecom (2.2.1+dfsg1-6) unstable; urgency=low
+
+  * Fix FTBFS with clang
+    - Fixed the void function should not return a value bug in
+      wifo/phapi/phapi-old.c
+    - Fixed the non-void function should return a value bug in
+      wifo/phapi/phmedia-audio.c
+
+ -- Arthur Marble <[email protected]>  Thu, 17 Apr 2014 13:53:14 -0500
+
 qutecom (2.2.1+dfsg1-5) unstable; urgency=medium
 
   * Add libav10.patch by Anton Khirnov to fix FTBFS with libav10
diff -Naur qutecom.orig/qutecom-2.2.1+dfsg1/debian/patches/clang-ftbfs.diff qutecom/qutecom-2.2.1+dfsg1/debian/patches/clang-ftbfs.diff 
--- qutecom.orig/qutecom-2.2.1+dfsg1/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ qutecom/qutecom-2.2.1+dfsg1/debian/patches/clang-ftbfs.diff	2014-04-17 13:40:52.528158000 -0500
@@ -0,0 +1,31 @@
+--- a/wifo/phapi/phapi-old.c
++++ b/wifo/phapi/phapi-old.c
+@@ -3897,7 +3897,7 @@ void ph_reg_progress(eXosip_event_t *je)
+ 		{
+ 			if (owsip_account_free (vl->sipAccount))
+ 			{
+-				return -1 ;
++				return;
+ 			}
+ 			vline_free(vl);
+ 		}
+@@ -3956,7 +3956,7 @@ void ph_reg_progress(eXosip_event_t *je)
+ 		{
+ 			if (owsip_account_free (vl->sipAccount))
+ 			{
+-				return -1 ;
++				return;
+ 			}
+ 			vline_free(vl);
+ 		}
+--- a/wifo/phapi/phmedia-audio.c
++++ b/wifo/phapi/phmedia-audio.c
+@@ -1097,7 +1097,7 @@ static int
+ prepare_reformat_buffer(phastream_t *stream)
+ {
+ 	if (stream->reformatbuf.cb_buf)
+-		return;
++		return 0;
+ 
+   cb_init(&stream->reformatbuf, 1024*4);
+ }
diff -Naur qutecom.orig/qutecom-2.2.1+dfsg1/debian/patches/series qutecom/qutecom-2.2.1+dfsg1/debian/patches/series 
--- qutecom.orig/qutecom-2.2.1+dfsg1/debian/patches/series	2014-03-01 02:13:30.000000000 -0600
+++ qutecom/qutecom-2.2.1+dfsg1/debian/patches/series	2014-04-17 13:37:03.892154018 -0500
@@ -16,3 +16,4 @@
 build.patch
 libav9.8.patch
 libav10.patch
+clang-ftbfs.diff

Reply via email to