Package: aalib 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 aalib.orig/aalib-1.4p5/debian/changelog aalib/aalib-1.4p5/debian/changelog --- aalib.orig/aalib-1.4p5/debian/changelog 2014-02-23 19:09:24.211151516 -0600 +++ aalib/aalib-1.4p5/debian/changelog 2014-02-23 19:20:45.219163376 -0600 @@ -1,3 +1,11 @@ +aalib (1.4p5-42) unstable; urgency=medium + + * Fix the FTBFS with clang: + - Fixed the non-void function should return a value bug in + src/aalinuxkbd.c + + -- Arthur Marble <art...@info9.net> Sun, 23 Feb 2014 19:20:45 -0600 + aalib (1.4p5-41) unstable; urgency=low * Fix building with texinfo 5. Patch from Daniel Schepler diff -Naur aalib.orig/aalib-1.4p5/debian/patches/clang-ftbfs.diff aalib/aalib-1.4p5/debian/patche s/clang-ftbfs.diff --- aalib.orig/aalib-1.4p5/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 - 0600 +++ aalib/aalib-1.4p5/debian/patches/clang-ftbfs.diff 2014-02-23 19:21:50.059164505 -0600 @@ -0,0 +1,11 @@ +--- a/src/aalinuxkbd.c ++++ b/src/aalinuxkbd.c +@@ -200,7 +200,7 @@ static void vt_to_here(int num) + static int rawmode_init(void) + { + if (!closed) +- return; ++ return 2; + mypid = getpid(); + if (tty_fd == -1) { + tty_fd = fileno(stdin); diff -Naur aalib.orig/aalib-1.4p5/debian/patches/series aalib/aalib-1.4p5/debian/patches/series --- aalib.orig/aalib-1.4p5/debian/patches/series 2014-02-23 19:09:24.211151516 -0600 +++ aalib/aalib-1.4p5/debian/patches/series 2014-02-23 19:15:59.551158401 -0600 @@ -10,3 +10,4 @@ 0009-Various-build-system-changes.patch 0010-Gpm_GetEvent-fix.patch 0011-Fix-TexInfo-error.patch +clang-ftbfs.diff