pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/include-what-you-use



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb  6 10:01:36 UTC 2018

Modified Files:
        pkgsrc/devel/include-what-you-use: Makefile distinfo
        pkgsrc/devel/include-what-you-use/patches: patch-iwyu__output.cc

Log Message:
include-what-you-use: updated to 0.9

0.9:
Added compatibility with Clang 5.0.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/include-what-you-use/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/include-what-you-use/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/include-what-you-use/Makefile
diff -u pkgsrc/devel/include-what-you-use/Makefile:1.12 pkgsrc/devel/include-what-you-use/Makefile:1.13
--- pkgsrc/devel/include-what-you-use/Makefile:1.12     Wed Dec 13 17:51:45 2017
+++ pkgsrc/devel/include-what-you-use/Makefile  Tue Feb  6 10:01:36 2018
@@ -1,24 +1,24 @@
-# $NetBSD: Makefile,v 1.12 2017/12/13 17:51:45 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2018/02/06 10:01:36 adam Exp $
 
-DISTNAME=      include-what-you-use-0.8.src
+DISTNAME=      include-what-you-use-0.9.src
 PKGNAME=       ${DISTNAME:.src=}
 CATEGORIES=    devel
-MASTER_SITES=  https://include-what-you-use.org/downloads/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=include-what-you-use/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://include-what-you-use.org/
 COMMENT=       Analyze \#includes in C and C++ source files
 LICENSE=       modified-bsd
 
-WRKSRC=                ${WRKDIR}/include-what-you-use
+GITHUB_TAG=    clang_5.0
+
+WRKSRC=                ${WRKDIR}/include-what-you-use-${GITHUB_TAG}
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 CMAKE_ARGS=    -DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
 GCC_REQD+=     4.8
 
 REPLACE_PYTHON=        *.py
-# https://github.com/include-what-you-use/include-what-you-use/issues/462
-BROKEN=                Not ported to llvm 5.
 
 .include "../../lang/clang/buildlink3.mk"
 .include "../../lang/python/application.mk"

Index: pkgsrc/devel/include-what-you-use/distinfo
diff -u pkgsrc/devel/include-what-you-use/distinfo:1.6 pkgsrc/devel/include-what-you-use/distinfo:1.7
--- pkgsrc/devel/include-what-you-use/distinfo:1.6      Mon Aug  7 17:31:44 2017
+++ pkgsrc/devel/include-what-you-use/distinfo  Tue Feb  6 10:01:36 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2017/08/07 17:31:44 adam Exp $
+$NetBSD: distinfo,v 1.7 2018/02/06 10:01:36 adam Exp $
 
-SHA1 (include-what-you-use-0.8.src.tar.gz) = 1cf48107ccf513f8862578921634fde53ab09f80
-RMD160 (include-what-you-use-0.8.src.tar.gz) = 8a156ec5c6235b37a829875ed2a069494c1ad919
-SHA512 (include-what-you-use-0.8.src.tar.gz) = f14e404e5d03f13022243db4707dbbeda43956b71018439b3d1d8fcf3f173c1706d1d8c2db413a85f979211b01edd59d2c34742ccb14d9e16e5b5ce51119d48b
-Size (include-what-you-use-0.8.src.tar.gz) = 441413 bytes
-SHA1 (patch-iwyu__output.cc) = 072236f94c44ebd7e0ca20ad828dd938c9683b4a
+SHA1 (include-what-you-use-0.9.src.tar.gz) = 76f0da08db27d1387095a997b451bd1a63443dc5
+RMD160 (include-what-you-use-0.9.src.tar.gz) = 9c01bfcea047c2c6e466eaa7864aaa45ba9de6cd
+SHA512 (include-what-you-use-0.9.src.tar.gz) = 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52
+Size (include-what-you-use-0.9.src.tar.gz) = 439081 bytes
+SHA1 (patch-iwyu__output.cc) = 55a8c7ad35613206ad01dd312afdabb5649e63c2

Index: pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc
diff -u pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc:1.1 pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc:1.2
--- pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc:1.1 Wed Dec 30 16:16:13 2015
+++ pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc     Tue Feb  6 10:01:36 2018
@@ -1,10 +1,10 @@
-$NetBSD: patch-iwyu__output.cc,v 1.1 2015/12/30 16:16:13 bsiegert Exp $
+$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        2015-12-11 05:45:54.000000000 +0000
+--- iwyu_output.cc.orig        2017-12-02 09:16:38.000000000 +0000
 +++ iwyu_output.cc
-@@ -61,7 +61,6 @@ using std::map;
+@@ -60,7 +60,6 @@ using std::map;
  using std::multimap;
  using std::pair;
  using std::sort;
@@ -12,7 +12,7 @@ Remove use of std::to_string, which is p
  using std::vector;
  
  namespace internal {
-@@ -555,7 +554,7 @@ void IwyuFileInfo::AddUsingDecl(const Us
+@@ -546,7 +545,7 @@ void IwyuFileInfo::AddUsingDecl(const Us
    int end_linenum = GetLineNumber(GetInstantiationLoc(decl_lines.getEnd()));
    VERRS(6) << "Found using-decl: "
             << GetFilePath(file_) << ":" 



Home | Main Index | Thread Index | Old Index