Package: zthreads 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 zthreads.orig/zthreads-2.3.2/debian/changelog zthreads/zthreads-2.3.2/debian/changelog --- zthreads.orig/zthreads-2.3.2/debian/changelog 2012-05-19 13:12:50.000000000 -0500 +++ zthreads/zthreads-2.3.2/debian/changelog 2014-02-23 18:22:53.299102914 -0600 @@ -1,3 +1,10 @@ +zthreads (2.3.2-8) unstable; urgency=low + + * Fix the FTBFS with clang: + - Fixed the return void bug in include/zthread/Guard.h + + -- Arthur Marble <art...@info9.net> Sun, 23 Feb 2014 18:22:53 -0600 + zthreads (2.3.2-7) unstable; urgency=low * Adding multi-arch support. diff -Naur zthreads.orig/zthreads-2.3.2/debian/patches/clang-ftbfs.diff zthreads/zthreads-2.3.2/d ebian/patches/clang-ftbfs.diff --- zthreads.orig/zthreads-2.3.2/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 - 0600 +++ zthreads/zthreads-2.3.2/debian/patches/clang-ftbfs.diff 2014-02-23 18:21:37.151101588 - 0600 @@ -0,0 +1,16 @@ +--- a/include/zthread/Guard.h ++++ b/include/zthread/Guard.h +@@ -114,11 +114,11 @@ class CompoundScope { + if(!Scope2::createScope(l, ms)) { + + Scope1::destroyScope(l); +- return false; ++ return; + + } + +- return true; ++ return; + + } + diff -Naur zthreads.orig/zthreads-2.3.2/debian/patches/series zthreads/zthreads-2.3.2/debian/patc hes/series --- zthreads.orig/zthreads-2.3.2/debian/patches/series 2012-05-09 13:09:57.000000000 -0500 +++ zthreads/zthreads-2.3.2/debian/patches/series 2014-02-23 18:19:53.251099779 -0600 @@ -4,3 +4,4 @@ autotools fix-ftbfs-with-g++-4.7 build_on_GNU_Hurd.patch +clang-ftbfs.diff