pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/woboq_codebrowser Fix building with newer LLVM
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6f319221674
branches: trunk
changeset: 360546:d6f319221674
user: adam <adam%pkgsrc.org@localhost>
date: Sat Apr 01 12:38:54 2017 +0000
description:
Fix building with newer LLVM
diffstat:
devel/woboq_codebrowser/distinfo | 3 +-
devel/woboq_codebrowser/patches/patch-generator_annotator.cpp | 24 +++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 9b3a9e3785cd -r d6f319221674 devel/woboq_codebrowser/distinfo
--- a/devel/woboq_codebrowser/distinfo Sat Apr 01 12:36:18 2017 +0000
+++ b/devel/woboq_codebrowser/distinfo Sat Apr 01 12:38:54 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/11/24 01:10:16 joerg Exp $
+$NetBSD: distinfo,v 1.2 2017/04/01 12:38:54 adam Exp $
SHA1 (woboq_codebrowser-2.0.1.tar.gz) = 750bc4d71cec7ff1213624ce54d3c658a2ab6351
RMD160 (woboq_codebrowser-2.0.1.tar.gz) = 275d033674580db7b7bd9eda954a0311a745cfce
SHA512 (woboq_codebrowser-2.0.1.tar.gz) = ce9254c22e88678cc7938bea85ae95c5abef55fbceb53ed7ff5a7c1231eedc0f2564e63be436ee61576bfc2d9dbb0f6d12674eaf5362abd15bb234c55e7785ab
Size (woboq_codebrowser-2.0.1.tar.gz) = 194624 bytes
+SHA1 (patch-generator_annotator.cpp) = d5cd90260584b52e9321ad89af4add5adf6f7c7c
diff -r 9b3a9e3785cd -r d6f319221674 devel/woboq_codebrowser/patches/patch-generator_annotator.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/woboq_codebrowser/patches/patch-generator_annotator.cpp Sat Apr 01 12:38:54 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-generator_annotator.cpp,v 1.1 2017/04/01 12:38:54 adam Exp $
+
+Fix building.
+
+--- generator/annotator.cpp.orig 2017-04-01 12:24:27.000000000 +0000
++++ generator/annotator.cpp
+@@ -194,7 +194,7 @@ std::string Annotator::htmlNameForFile(c
+ }
+
+ const clang::FileEntry* entry = getSourceMgr().getFileEntryForID(id);
+- if (!entry || !entry->getName())
++ if (!entry)
+ {
+ cache[id] = {false, {} };
+ return {};
+@@ -520,7 +520,7 @@ std::string Annotator::pathTo(clang::Fil
+ {
+ //this is a bit duplicated with the other pathTo and htmlNameForFile
+
+- if (!To || !To->getName())
++ if (!To)
+ return {};
+
+ std::string fromFN = htmlNameForFile(From);
Home |
Main Index |
Thread Index |
Old Index