diff --git a/debian/changelog b/debian/changelog index 36b64b59..68694d95 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ llvm-toolchain-3.3 (1:3.3~+rc3-1~exp2) UNRELEASED; urgency=low * Do not use binutils-gold for powerpc * Print the lldb test failures * Create the compiler-rt directory for unsupported platforms + * Fix the FTBFS under HURD (hurd-endian.diff) -- diff --git a/debian/patches/hurd-endian.diff b/debian/patches/hurd-endian.diff new file mode 100644 index 00000000..f6f2b39e --- /dev/null +++ b/debian/patches/hurd-endian.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-3.3-3.3~0rc2/include/llvm/Support/Host.h +=================================================================== +--- llvm-toolchain-3.3-3.3~0rc2.orig/include/llvm/Support/Host.h 2013-04-15 22:13:59.000000000 +0200 ++++ llvm-toolchain-3.3-3.3~0rc2/include/llvm/Support/Host.h 2013-06-05 11:13:28.000000000 +0200 +@@ -16,7 +16,7 @@ + + #include "llvm/ADT/StringMap.h" + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__GNU__) + #include + #else + #ifndef LLVM_ON_WIN32 diff --git a/debian/patches/series b/debian/patches/series index 3a48e58f..60ac5ad9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -19,3 +19,5 @@ declare_clear_cache.diff 33-armhf-defaults.diff 34-powerpc-no-altivec.diff ia64-fix.diff +hurd-endian.diff +