summaryrefslogtreecommitdiff
path: root/devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-04-01 13:29:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-04-01 13:29:14 +0000
commitaef5472d832fb0e83e624316fe1d2ab45ddf315d (patch)
tree5dd7a5d10ff5e646cbcbf5c84cdc3931873bd35c /devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp
parentRemove files/patch-armv6-hf-support since armv6hf no longer exists as (diff)
Actually remove llvm37 and clang37
Reported by: jbeich Pointy hat to: bapt
Notes
Notes: svn path=/head/; revision=437436
Diffstat (limited to 'devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp')
-rw-r--r--devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp b/devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp
deleted file mode 100644
index 0b9504a8a0e1..000000000000
--- a/devel/llvm37/files/patch-tools_llvm-config_llvm-config.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- tools/llvm-config/llvm-config.cpp.orig 2015-12-21 11:12:59.047349000 +0100
-+++ tools/llvm-config/llvm-config.cpp 2015-12-21 11:14:08.881815000 +0100
-@@ -360,8 +360,9 @@ int main(int argc, char **argv) {
- OS << ActiveLibDir << '/' << Lib;
- } else if (PrintLibs) {
- // If this is a typical library name, include it using -l.
-- if (Lib.startswith("lib") && Lib.endswith(".a")) {
-- OS << "-l" << Lib.slice(3, Lib.size()-2);
-+ if (Lib.startswith("lib") && Lib.endswith(LTDL_SHLIB_EXT)) {
-+ // sizeof counts trailing NULL
-+ OS << "-l" << Lib.slice(3, Lib.size()-sizeof(LTDL_SHLIB_EXT)+1);
- continue;
- }
-