mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 04:13:02 +00:00

* Merge changes from the 3.3 branch (see 1:3.3-10) * Install libclang.so in /usr/lib/*/libclang-3.3.so * Install libclang.so.1 in /usr/lib/*/libclang-3.3.so.1 * Also ship the python clang binding (python-clang-3.3) (LLVM no longer mean Low Level Virtual Machine) * Disable the build of lldb under HURD * Ship the lldb headers into lldb-X.Y-dev (Closes: #723743) I might create a liblldb-X.Y library at some point but I think it is too early. * Fix "cannot compile this atomic library call" Thanks to Francisco Facioni for the refresh (Closes: #705115) * Install libclang.so in /usr/lib/*/libclang-3.3.so * Install libclang.so.1 in /usr/lib/*/libclang-3.3.so.1 * Also ship the python clang binding (python-clang-3.3) * Fix a FTBFS with a duplicate declaration of shouldUseInlineAtomic * Update the build dependency from tcl8.5 to tcl (Closes: #725953)
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
# Without this patch, the first local include of unwind.h might, with the
|
|
# __has_include_next, try to include the one from the system.
|
|
# It might be /usr/include/clang/3.4/include/unwind.h
|
|
# Because of the #ifndef __CLANG_UNWIND_H, it might never include any declaration
|
|
# from the system.
|
|
|
|
Index: llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Headers/unwind.h
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn192346.orig/clang/lib/Headers/unwind.h 2013-10-10 13:38:48.446082093 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Headers/unwind.h 2013-10-10 13:38:48.438082094 +0200
|
|
@@ -23,9 +23,6 @@
|
|
|
|
/* See "Data Definitions for libgcc_s" in the Linux Standard Base.*/
|
|
|
|
-#ifndef __CLANG_UNWIND_H
|
|
-#define __CLANG_UNWIND_H
|
|
-
|
|
#if __has_include_next(<unwind.h>)
|
|
/* Darwin (from 11.x on) and libunwind provide an unwind.h. If that's available,
|
|
* use it. libunwind wraps some of its definitions in #ifdef _GNU_SOURCE,
|
|
@@ -53,6 +50,9 @@
|
|
# endif
|
|
#else
|
|
|
|
+#ifndef __CLANG_UNWIND_H
|
|
+#define __CLANG_UNWIND_H
|
|
+
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
@@ -275,6 +275,7 @@
|
|
}
|
|
#endif
|
|
|
|
+#endif /* __CLANG_UNWIND_H */
|
|
+
|
|
#endif
|
|
|
|
-#endif /* __CLANG_UNWIND_H */
|