Package: flint
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 flint.orig/flint-1.011/debian/changelog flint/flint-1.011/debian/changelog
--- flint.orig/flint-1.011/debian/changelog	2014-03-17 20:52:11.975067921 -0500
+++ flint/flint-1.011/debian/changelog	2014-03-29 18:16:57.609996143 -0500
@@ -1,3 +1,12 @@
+flint (1.011-2.3) unstable; urgency=low
+
+  * Fix the FTBFS with clang:
+    - fixed the wrong main declaration error in:
+      QS/mpQS.c
+      QS/tinyQS.c
+
+ -- Arthur Marble <art...@info9.net>  Mon, 17 Mar 2014 21:00:53 -0500
+
 flint (1.011-2.2) unstable; urgency=low
 
   * NMU: apply patch for build problem on mips (Closes: #665719)
diff -Naur flint.orig/flint-1.011/debian/patches/clang-ftbfs.diff  flint/flint-1.011/debian/patches/clang-ftbfs.diff 
--- flint.orig/flint-1.011/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ flint/flint-1.011/debian/patches/clang-ftbfs.diff	2014-03-17 20:58:26.399074441 -0500
@@ -0,0 +1,22 @@
+--- a/QS/mpQS.c
++++ b/QS/mpQS.c
+@@ -400,7 +400,7 @@ cleanup_2:
+ 
+ 
+ ===========================================================================*/
+-int main(int argc, unsigned char *argv[])
++int main(int argc, char *argv[])
+ {
+     mpz_t N;
+     mpz_init(N); 
+--- a/QS/tinyQS.c
++++ b/QS/tinyQS.c
+@@ -334,7 +334,7 @@ cleanup_2:
+     mpz_clear(N);
+ }*/
+ 
+-int main(int argc, unsigned char *argv[])
++int main(int argc, char *argv[])
+ {
+     mpz_t N;
+     mpz_init(N); 
diff -Naur flint.orig/flint-1.011/debian/patches/series  flint/flint-1.011/debian/patches/series 
--- flint.orig/flint-1.011/debian/patches/series	2014-03-17 20:52:11.975067921 -0500
+++ flint/flint-1.011/debian/patches/series	2014-03-17 20:52:42.823068458 -0500
@@ -4,3 +4,4 @@
 flint-ntl-interface.patch
 flint-arm-thumb.patch
 flint-mips.patch
+clang-ftbfs.diff

Reply via email to