Fix an other issues under HURD...

This commit is contained in:
Sylvestre Ledru 2013-08-23 08:09:46 +00:00
parent c3f3e451a5
commit 5a130d787f
3 changed files with 23 additions and 0 deletions

6
debian/changelog vendored
View File

@ -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

16
debian/patches/hurd-pathmax.diff vendored Normal file
View File

@ -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 <limits.h>
#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.

View File

@ -30,3 +30,4 @@ patch-bug-16511.diff
kfreebsd-lldb.diff
disable-execinfo-usage.diff
unwind-chain-inclusion.diff
hurd-pathmax.diff