Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/include-what-you-use include-what-you-use: make ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5d22bd404b0
branches:  trunk
changeset: 432090:c5d22bd404b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 16:45:36 2020 +0000

description:
include-what-you-use: make it use c++14 and GCC 5

Like the rest of the llvm packages.
Remove now unneeded patch.

diffstat:

 devel/include-what-you-use/Makefile                      |   6 ++--
 devel/include-what-you-use/distinfo                      |   3 +-
 devel/include-what-you-use/patches/patch-iwyu__output.cc |  23 ----------------
 3 files changed, 4 insertions(+), 28 deletions(-)

diffs (60 lines):

diff -r 73eb323baac9 -r c5d22bd404b0 devel/include-what-you-use/Makefile
--- a/devel/include-what-you-use/Makefile       Mon May 18 16:33:44 2020 +0000
+++ b/devel/include-what-you-use/Makefile       Mon May 18 16:45:36 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/05/18 05:48:54 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2020/05/18 16:45:36 wiz Exp $
 
 DISTNAME=      include-what-you-use-0.14.src
 PKGNAME=       ${DISTNAME:S/.src//1}
@@ -12,9 +12,9 @@
 
 WRKSRC=                ${WRKDIR}/include-what-you-use
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++14
 
-GCC_REQD+=     4.8
+GCC_REQD+=     5
 
 CMAKE_ARGS=    -DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
 
diff -r 73eb323baac9 -r c5d22bd404b0 devel/include-what-you-use/distinfo
--- a/devel/include-what-you-use/distinfo       Mon May 18 16:33:44 2020 +0000
+++ b/devel/include-what-you-use/distinfo       Mon May 18 16:45:36 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.12 2020/05/18 05:48:54 wiz Exp $
+$NetBSD: distinfo,v 1.13 2020/05/18 16:45:36 wiz Exp $
 
 SHA1 (include-what-you-use-0.14.src.tar.gz) = a67e9a48f18c70c6f3cb6fed5357a21c708187c6
 RMD160 (include-what-you-use-0.14.src.tar.gz) = 284cb5d5cfe20bf10f979db4aab036197971a12a
 SHA512 (include-what-you-use-0.14.src.tar.gz) = ac328c6bdf834fde58bbf14c662fdf97aac22a24a85bce4a6475c73027b3ec1c558925efb5f0ac3addf446f21d29e37a70a7c5773c178f9ab7f12e90be7d69b4
 Size (include-what-you-use-0.14.src.tar.gz) = 598485 bytes
-SHA1 (patch-iwyu__output.cc) = 55a8c7ad35613206ad01dd312afdabb5649e63c2
diff -r 73eb323baac9 -r c5d22bd404b0 devel/include-what-you-use/patches/patch-iwyu__output.cc
--- a/devel/include-what-you-use/patches/patch-iwyu__output.cc  Mon May 18 16:33:44 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-iwyu__output.cc,v 1.2 2018/02/06 10:01:36 adam Exp $
-
-Remove use of std::to_string, which is problematic in gcc48.
-
---- iwyu_output.cc.orig        2017-12-02 09:16:38.000000000 +0000
-+++ iwyu_output.cc
-@@ -60,7 +60,6 @@ using std::map;
- using std::multimap;
- using std::pair;
- using std::sort;
--using std::to_string;
- using std::vector;
- 
- namespace internal {
-@@ -546,7 +545,7 @@ void IwyuFileInfo::AddUsingDecl(const Us
-   int end_linenum = GetLineNumber(GetInstantiationLoc(decl_lines.getEnd()));
-   VERRS(6) << "Found using-decl: "
-            << GetFilePath(file_) << ":" 
--           << to_string(start_linenum) << "-" << to_string(end_linenum) << ": " 
-+           << start_linenum << "-" << end_linenum << ": " 
-            << internal::PrintablePtr(using_decl)
-            << internal::GetQualifiedNameAsString(using_decl) << "\n";
- }



Home | Main Index | Thread Index | Old Index