Package: snap
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 snap.orig/snap-2010-07-28/debian/changelog snap/snap-2010-07-28/debian/changelog
--- snap.orig/snap-2010-07-28/debian/changelog	2014-07-05 10:31:09.769413342 -0500
+++ snap/snap-2010-07-28/debian/changelog	2014-07-05 10:35:07.108181380 -0500
@@ -1,3 +1,11 @@
+snap (2010-07-28-3) unstable; urgency=low
+
+  * Fix FTBFS with clang instead of gcc
+    -Fixed "equality comparison with extraneous parentheses" error
+    in: Zoe/zoeHMM.c
+
+ -- Arthur Marble <[email protected]>  Sat, 05 Jul 2014 10:35:07 -0500
+
 snap (2010-07-28-2) unstable; urgency=low
 
   * debian/upstream: Added citation information
diff -Naur snap.orig/snap-2010-07-28/debian/patches/clang-ftbfs.diff snap/snap-2010-07-28/debian/patches/clang-ftbfs.diff 
--- snap.orig/snap-2010-07-28/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ snap/snap-2010-07-28/debian/patches/clang-ftbfs.diff	2014-07-05 10:32:31.434500860 -0500
@@ -0,0 +1,13 @@
+Index: snap-2010-07-28/Zoe/zoeHMM.c
+===================================================================
+--- snap-2010-07-28.orig/Zoe/zoeHMM.c
++++ snap-2010-07-28/Zoe/zoeHMM.c
+@@ -446,7 +446,7 @@ zoeHMM zoeReadHMM (FILE * stream) {
+ 		}
+ 		
+ 		label = zoeText2Label(hmm->model[i]->name);
+-		if ((hmm->model[i]->symbols == 4)) {
++		if (hmm->model[i]->symbols == 4) {
+ 			zoeAmbiguateModel(hmm->model[i], Nscore[label]);
+ 		}
+ 	}
diff -Naur snap.orig/snap-2010-07-28/debian/patches/series snap/snap-2010-07-28/debian/patches/series 
--- snap.orig/snap-2010-07-28/debian/patches/series	2014-07-05 10:31:09.769413342 -0500
+++ snap/snap-2010-07-28/debian/patches/series	2014-07-05 10:32:02.324687315 -0500
@@ -1,2 +1,3 @@
 unused-but-set-variable.patch
 hardening.patch
+clang-ftbfs.diff

Reply via email to