From e20a762f6602ff8ffc055e4f50bda6206dc4c7a3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 11 Sep 2014 11:12:08 +0000 Subject: [PATCH] refresh of the patches --- debian/patches/lldb-kfreebsd.diff | 25 ------------------------- debian/patches/series | 1 - 2 files changed, 26 deletions(-) delete mode 100644 debian/patches/lldb-kfreebsd.diff diff --git a/debian/patches/lldb-kfreebsd.diff b/debian/patches/lldb-kfreebsd.diff deleted file mode 100644 index 67edc5c8..00000000 --- a/debian/patches/lldb-kfreebsd.diff +++ /dev/null @@ -1,25 +0,0 @@ -%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 -Index: llvm-toolchain-snapshot_3.6~svn217023/lldb/source/Host/freebsd/Host.cpp -=================================================================== ---- llvm-toolchain-snapshot_3.6~svn217023.orig/lldb/source/Host/freebsd/Host.cpp -+++ llvm-toolchain-snapshot_3.6~svn217023/lldb/source/Host/freebsd/Host.cpp -@@ -84,6 +84,18 @@ Host::ThreadCreated (const char *thread_ - 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) - { diff --git a/debian/patches/series b/debian/patches/series index 4e4e5b90..1ba50697 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -34,7 +34,6 @@ compiler-rt-path.diff lldb-soname.diff force-link-pass.o.diff follow-parallel-var.diff -lldb-kfreebsd.diff hurd-EIEIO-undef.diff silent-MCJIIT-tests.diff kfreebsd-lldb-mi.diff