Package: gargoyle-free Severity: minor Tags: patch User: [email protected] 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-08-05/gargoyle-free_2011.1a-2_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 gargoyle-free.orig/gargoyle-free-2011.1a/debian/changelog gargoyle-free/gargoyle-free-2011.1a/debian/changelog --- gargoyle-free.orig/gargoyle-free-2011.1a/debian/changelog 2014-08-07 18:33:57.660716369 -0500 +++ gargoyle-free/gargoyle-free-2011.1a/debian/changelog 2014-08-07 18:50:40.176733827 -0500 @@ -1,3 +1,11 @@ +gargoyle-free (2011.1a-3) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error in + terps/nitfol/nitfol.h + + -- Arthur Marble <[email protected]> Thu, 07 Aug 2014 18:50:40 -0500 + gargoyle-free (2011.1a-2) unstable; urgency=low * Fix package description: Alan 2 is now included. diff -Naur gargoyle-free.orig/gargoyle-free-2011.1a/debian/patches/clang-ftbfs.diff gargoyle-free/gargoyle-free-2011.1a/debian/patches/clang-ftbfs.diff --- gargoyle-free.orig/gargoyle-free-2011.1a/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ gargoyle-free/gargoyle-free-2011.1a/debian/patches/clang-ftbfs.diff 2014-08-07 18:52:46.760736032 -0500 @@ -0,0 +1,14 @@ +--- a/terps/nitfol/nitfol.h ++++ b/terps/nitfol/nitfol.h +@@ -114,8 +114,9 @@ typedef unsigned long offset; + #define PASTE(a, b) a##b + #define XPASTE(a, b) PASTE(a, b) + +- +-#if defined(__cplusplus) || defined(USE_INLINE) ++#if defined(__clang__) ++#define N_INLINE ++#elif defined(__cplusplus) || defined(USE_INLINE) + #define N_INLINE inline + #elif defined(INLINE) + #define N_INLINE INLINE diff -Naur gargoyle-free.orig/gargoyle-free-2011.1a/debian/patches/series gargoyle-free/gargoyle-free-2011.1a/debian/patches/series --- gargoyle-free.orig/gargoyle-free-2011.1a/debian/patches/series 2014-08-07 18:33:57.660716369 -0500 +++ gargoyle-free/gargoyle-free-2011.1a/debian/patches/series 2014-08-07 18:34:16.932716705 -0500 @@ -5,3 +5,4 @@ desktop_menu_entry.patch fhs_locate_private_binaries.patch librt.patch +clang-ftbfs.diff

