From c3f3e451a501e3d76cb3f86f9f1176074616d971 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 22 Aug 2013 14:41:20 +0000 Subject: [PATCH 1/2] debhelper version 9.20130720 fails on the call to dh_auto_clean Remove it. It was anyway useless. --- debian/changelog | 7 +++++++ debian/rules | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 066a0c68..774cdf70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-3.3 (1:3.3-7) unstable; urgency=low + + * debhelper version 9.20130720 fails on the call to dh_auto_clean + Remove it. It was anyway useless. + + -- Sylvestre Ledru Thu, 22 Aug 2013 14:28:25 +0200 + llvm-toolchain-3.3 (1:3.3-6) unstable; urgency=low * Fix the FTBFS under hurd and KFreeBSD diff --git a/debian/rules b/debian/rules index 113474a2..f694201d 100755 --- a/debian/rules +++ b/debian/rules @@ -286,7 +286,6 @@ override_dh_gencontrol: dh_gencontrol -- $(control_vars) override_dh_auto_clean: - dh_auto_clean rm -rf $(TARGET_BUILD) tools/clang/include/clang/Debian/debian_path.h docs/_build/ tools/clang/docs/_html/ rm -f `ls debian/*.in|sed -e "s|.in$$||g"` find utils -name '*.pyc' | xargs -r rm -f From 5a130d787f4eea148de212898c48a58c31cc293a Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 23 Aug 2013 08:09:46 +0000 Subject: [PATCH 2/2] Fix an other issues under HURD... --- debian/changelog | 6 ++++++ debian/patches/hurd-pathmax.diff | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+) create mode 100644 debian/patches/hurd-pathmax.diff diff --git a/debian/changelog b/debian/changelog index 774cdf70..53c6a25d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-3.3 (1:3.3-8) unstable; urgency=low + + * Fix an other issues under HURD... + + -- + llvm-toolchain-3.3 (1:3.3-7) unstable; urgency=low * debhelper version 9.20130720 fails on the call to dh_auto_clean diff --git a/debian/patches/hurd-pathmax.diff b/debian/patches/hurd-pathmax.diff new file mode 100644 index 00000000..227d7759 --- /dev/null +++ b/debian/patches/hurd-pathmax.diff @@ -0,0 +1,16 @@ +Index: llvm-toolchain-3.3-3.3/clang/lib/Basic/FileManager.cpp +=================================================================== +--- llvm-toolchain-3.3-3.3.orig/clang/lib/Basic/FileManager.cpp 2013-01-26 17:29:36.000000000 +0100 ++++ llvm-toolchain-3.3-3.3/clang/lib/Basic/FileManager.cpp 2013-08-23 09:53:21.538337851 +0200 +@@ -43,6 +43,11 @@ + #if defined(LLVM_ON_UNIX) + #include + #endif ++// For GNU Hurd ++#if defined(__GNU__) && !defined(PATH_MAX) ++# define PATH_MAX 4096 ++#endif ++ + using namespace clang; + + // FIXME: Enhance libsystem to support inode and other fields. diff --git a/debian/patches/series b/debian/patches/series index 26bfa0a0..e43484e3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -30,3 +30,4 @@ patch-bug-16511.diff kfreebsd-lldb.diff disable-execinfo-usage.diff unwind-chain-inclusion.diff +hurd-pathmax.diff