Package: unicon
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 unicon.orig/unicon-3.0.4/debian/changelog unicon/unicon-3.0.4/debian/changelog
--- unicon.orig/unicon-3.0.4/debian/changelog	2014-02-23 17:22:45.923040094 -0600
+++ unicon/unicon-3.0.4/debian/changelog	2014-02-23 17:34:04.007051902 -0600
@@ -1,3 +1,10 @@
+unicon (3.0.4-14) unstable; urgency=low
+
+  * Fix the FTBFS with clang:
+    - Fixed return void in unicon/ImmModules/cce/inputs/tab2dat.c
+
+ -- Arthur Marble <[email protected]>  Sun, 23 Feb 2014 17:34:04 -0600
+
 unicon (3.0.4-13) unstable; urgency=low
 
   * Depend on x11proto-core-dev instead of x-dev. (Closes:Bug515485)
diff -Naur unicon.orig/unicon-3.0.4/patches/clang-ftbfs.diff unicon/unicon-3.0.4/patches/clang-ftbfs.diff
--- unicon.orig/unicon-3.0.4/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ unicon/unicon-3.0.4/patches/clang-ftbfs.diff	2014-02-23 17:28:02.359045604 -0600
@@ -0,0 +1,11 @@
+--- a/unicon/ImmModules/cce/inputs/tab2dat.c
++++ b/unicon/ImmModules/cce/inputs/tab2dat.c
+@@ -30,7 +30,7 @@ load_phr (int j, char *tt, int n)
+     {
+       printf ("phrase error %d\n", len);
+       strncpy (tt, "err", n);
+-      return 1;
++      return;
+     }
+ 
+   ofs[0] += (cur_table->PhraseNum + 1) * 4;
diff -Naur unicon.orig/unicon-3.0.4/patches/series unicon/unicon-3.0.4/patches/series
--- unicon.orig/unicon-3.0.4/patches/series	1969-12-31 18:00:00.000000000 -0600
+++ unicon/unicon-3.0.4/patches/series	2014-02-23 17:27:14.031044762 -0600
@@ -0,0 +1 @@
+clang-ftbfs.diff

Reply via email to