Package: awardeco 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). I am not sure if you really needed a byte for argc or argv. If it does not affect the program then please consider using the patch. If it does affect the program let me know. Thanks, Arthur
diff -Naur awardeco.orig/awardeco-0.2/debian/changelog awardeco/awardeco-0.2/debian/changelog --- awardeco.orig/awardeco-0.2/debian/changelog 2014-05-20 18:59:29.221869567 -0500 +++ awardeco/awardeco-0.2/debian/changelog 2014-05-20 19:08:10.665857922 -0500 @@ -1,3 +1,11 @@ +awardeco (0.2-3.2) unstable; urgency=low + + * Fix FTBFS with clang: + - Fixed "wrong main declaration" error in + src/awardeco.c + + -- Arthur Marble <art...@info9.net> Tue, 20 May 2014 19:08:10 -0500 + awardeco (0.2-3.1) unstable; urgency=low * Non-maintainer upload. diff -Naur awardeco.orig/awardeco-0.2/patches/clang-ftbfs.diff awardeco/awardeco-0.2/patches/clang-ftbfs.diff --- awardeco.orig/awardeco-0.2/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ awardeco/awardeco-0.2/patches/clang-ftbfs.diff 2014-05-20 19:05:46.057861151 -0500 @@ -0,0 +1,11 @@ +--- a/src/awardeco.c ++++ b/src/awardeco.c +@@ -34,7 +34,7 @@ + #include "./awardver.h" + #include "./awardhlp.h" + +-int main(byte argc, byte *argv[]) ++int main(int argc, char *argv[]) + { + + dword fLen, RealRead = 0; diff -Naur awardeco.orig/awardeco-0.2/patches/series awardeco/awardeco-0.2/patches/series --- awardeco.orig/awardeco-0.2/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ awardeco/awardeco-0.2/patches/series 2014-05-20 18:59:50.761869086 -0500 @@ -0,0 +1 @@ +clang-ftbfs.diff