Package: cbrpager 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 cbrpager.orig/cbrpager-0.9.22/debian/changelog cbrpager/cbrpager-0.9.22/debian/changelog --- cbrpager.orig/cbrpager-0.9.22/debian/changelog 2014-03-07 14:42:17.803498195 -0600 +++ cbrpager/cbrpager-0.9.22/debian/changelog 2014-03-07 14:46:49.527502927 -0600 @@ -1,3 +1,11 @@ +cbrpager (0.9.22-2) unstable; urgency=low + + * Fix FTBFS with clang: + - Fixed the non-void function should return a value error in + src/global.c + + -- Arthur Marble <art...@info9.net> Fri, 07 Mar 2014 14:46:49 -0600 + cbrpager (0.9.22-1) unstable; urgency=low * New upstream version. diff -Naur cbrpager.orig/cbrpager-0.9.22/debian/patches/clang-ftbfs.diff cbrpager/cbrpager-0.9.22/debian/patches/clang-ftbfs.diff --- cbrpager.orig/cbrpager-0.9.22/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ cbrpager/cbrpager-0.9.22/debian/patches/clang-ftbfs.diff 2014-03-07 14:43:37.087499575 -0600 @@ -0,0 +1,11 @@ +--- a/src/global.c ++++ b/src/global.c +@@ -772,7 +772,7 @@ printf("Key: %04x\n", event->keyval); + wdg = "quit_btn"; + break; // End patch from Ilja Pyykk�nen 2005/09/04 + default: +- return; ++ return 0; + } + + w = lookup_widget(nav_window, wdg); diff -Naur cbrpager.orig/cbrpager-0.9.22/debian/patches/series cbrpager/cbrpager-0.9.22/debian/patches/series --- cbrpager.orig/cbrpager-0.9.22/debian/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ cbrpager/cbrpager-0.9.22/debian/patches/series 2014-03-07 14:42:35.235498498 -0600 @@ -0,0 +1 @@ +clang-ftbfs.diff