Move the VCS to git. Many thanks to James Clarke for doing the conversion

This commit is contained in:
Sylvestre Ledru 2018-02-23 19:55:26 +01:00
commit 01acae7078
4 changed files with 24 additions and 4 deletions

5
debian/changelog vendored
View File

@ -1,11 +1,14 @@
llvm-toolchain-6.0 (1:6.0~+rc2-2) UNRELEASED; urgency=medium
* Move the VCS to git.
Many thanks to James Clarke for doing the conversion
[ John Paul Adrian Glaubitz ]
* Add proposed upstream patch by James Clarke to add the
missing __tls_get_addr symbol to the symbol table for
TLS calls on SPARC (Closes: #890401)
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Wed, 14 Feb 2018 21:23:31 +0100
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 23 Feb 2018 19:54:21 +0100
llvm-toolchain-6.0 (1:6.0~+rc2-1) unstable; urgency=medium

6
debian/control vendored
View File

@ -17,8 +17,8 @@ Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect,
Build-Conflicts: oprofile, ocaml, libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev
Standards-Version: 4.1.1
Homepage: http://www.llvm.org/
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-llvm/llvm-toolchain/branches/6.0/
Vcs-Browser: https://svn.debian.org/viewsvn/pkg-llvm/llvm-toolchain/branches/6.0/
Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 6.0
Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/6.0
# ------------- clang -------------
@ -41,7 +41,7 @@ Description: C, C++ and Objective-C compiler
Package: clang-tools-6.0
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, clang-6.0 (= ${binary:Version})
Description: clang-based tools
Description: clang-based tools for C/C++ developments
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the
GNU Compiler Collection (GCC).

16
debian/patches/libfuzzer-path.diff vendored Normal file
View File

@ -0,0 +1,16 @@
Index: llvm-toolchain-5.0-5.0.1/clang/lib/Driver/ToolChains/CommonArgs.cpp
===================================================================
--- llvm-toolchain-5.0-5.0.1.orig/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ llvm-toolchain-5.0-5.0.1/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -600,9 +600,8 @@ collectSanitizerRuntimes(const ToolChain
static void addLibFuzzerRuntime(const ToolChain &TC,
const ArgList &Args,
ArgStringList &CmdArgs) {
- StringRef ParentDir = llvm::sys::path::parent_path(TC.getDriver().InstalledDir);
- SmallString<128> P(ParentDir);
- llvm::sys::path::append(P, "lib", "libLLVMFuzzer.a");
+ SmallString<128> P;
+ llvm::sys::path::append(P, TC.getDriver().Dir, "/../lib" CLANG_LIBDIR_SUFFIX, "libFuzzer.a");
CmdArgs.push_back(Args.MakeArgString(P));
TC.AddCXXStdlibLibArgs(Args, CmdArgs);
}

View File

@ -8,6 +8,7 @@ declare_clear_cache.diff
clang-format-version.diff
unwind-chain-inclusion.diff
hurd-pathmax.diff
use-deb-json.diff
silent-gold-test.diff
atomic_library_1.diff
python-clangpath.diff