mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 10:40:59 +00:00
* First RC release of the 3.5 llvm toolchain
* Apply lldb-kfreebsd.diff patch to fix FTBFS under KFreeBSD Thanks to Ed Maste
This commit is contained in:
parent
9d9b15f930
commit
c9dabfe2cc
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
llvm-toolchain-3.5 (1:3.5~+rc1-1) unstable; urgency=medium
|
||||
|
||||
* First RC release of the 3.5 llvm toolchain
|
||||
* Apply lldb-kfreebsd.diff patch to fix FTBFS under KFreeBSD
|
||||
Thanks to Ed Maste
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 23 Jul 2014 08:57:59 +0200
|
||||
|
||||
llvm-toolchain-snapshot (1:3.5~svn213451-1) unstable; urgency=medium
|
||||
|
||||
* New snapshot release
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -1,4 +1,4 @@
|
||||
Source: llvm-toolchain-snapshot
|
||||
Source: llvm-toolchain-3.5
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
|
||||
|
5
debian/orig-tar.sh
vendored
5
debian/orig-tar.sh
vendored
@ -72,8 +72,9 @@ else
|
||||
fi
|
||||
|
||||
if test -n "$RCRELEASE"; then
|
||||
VERSION=$MAJOR_VERSION"+"$REVISION # WAS TAG
|
||||
FULL_VERSION="llvm-toolchain"$MAJOR_VERSION"_"$VERSION
|
||||
# VERSION=$MAJOR_VERSION"+"$REVISION # WAS TAG
|
||||
VERSION=$MAJOR_VERSION"~+"$TAG
|
||||
FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION
|
||||
else
|
||||
VERSION=$CURRENT_VERSION"~svn"$REVISION
|
||||
FULL_VERSION="llvm-toolchain-snapshot_"$VERSION
|
||||
|
24
debian/patches/lldb-kfreebsd.diff
vendored
Normal file
24
debian/patches/lldb-kfreebsd.diff
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
%diff --git llvm-toolchain-snapshot_3.5~svn201241.orig/lldllvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp llvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp
|
||||
index 4f6af67..47cbb25 100644
|
||||
--- llvm-toolchain-snapshot_3.5~svn201241.orig/lldllvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp
|
||||
+++ llvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp
|
||||
@@ -83,6 +83,18 @@ Host::ThreadCreated (const char *thread_name)
|
||||
Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16);
|
||||
}
|
||||
|
||||
+// Debian kFreeBSD uses the FreeBSD kernel with a GNU libc
|
||||
+#ifdef __GLIBC__
|
||||
+static inline void *
|
||||
+reallocf(void *ptr, size_t size)
|
||||
+{
|
||||
+ void *rv = realloc(ptr, size);
|
||||
+ if (rv == NULL)
|
||||
+ free(ptr);
|
||||
+ return rv;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
std::string
|
||||
Host::GetThreadName (lldb::pid_t pid, lldb::tid_t tid)
|
||||
{
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -40,3 +40,4 @@ lldb-soname.diff
|
||||
force-link-pass.o.diff
|
||||
follow-parallel-var.diff
|
||||
scan-build-search-path.diff
|
||||
lldb-kfreebsd.diff
|
||||
|
Loading…
Reference in New Issue
Block a user