Package: gngb Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). Detected this kind of error: http://clang.debian.net/status.php?version=3.5.0rc1&key=UNDEF_REF Full build log is available here: http://clang.debian.net/logs/2014-06-16/gngb_20060309-3_unstable_clang.log Thanks, Arthur -- System Information: Debian Release: jessie/sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" Shell: /bin/sh linked to /bin/dash Compiler: Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0)
diff -Naur gngb.orig/gngb-20060309/debian/changelog gngb/gngb-20060309/debian/changelog --- gngb.orig/gngb-20060309/debian/changelog 2014-08-08 13:58:51.429933531 -0500 +++ gngb/gngb-20060309/debian/changelog 2014-08-08 14:16:33.913952033 -0500 @@ -1,3 +1,10 @@ +gngb (20060309-4) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error + + -- Arthur Marble <art...@info9.net> Fri, 08 Aug 2014 14:16:33 -0500 + gngb (20060309-3) unstable; urgency=low * debian/control: diff -Naur gngb.orig/gngb-20060309/patches/clang-ftbfs.diff gngb/gngb-20060309/patches/clang-ftbfs.diff --- gngb.orig/gngb-20060309/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ gngb/gngb-20060309/patches/clang-ftbfs.diff 2014-08-08 14:13:44.713949087 -0500 @@ -0,0 +1,13 @@ +--- a/src/global.h ++++ b/src/global.h +@@ -22,5 +22,10 @@ + #include <config.h> + #include <SDL.h> + ++#ifdef __clang__ ++#define __inline__ ++#else ++#define __inline__ inline ++#endif + + #endif diff -Naur gngb.orig/gngb-20060309/patches/series gngb/gngb-20060309/patches/series --- gngb.orig/gngb-20060309/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ gngb/gngb-20060309/patches/series 2014-08-08 14:00:52.137935633 -0500 @@ -0,0 +1 @@ +clang-ftbfs.diff