diff options
author | drochner <drochner@pkgsrc.org> | 2010-05-04 16:52:16 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-05-04 16:52:16 +0000 |
commit | 9ec6881d64bb487462f9991d1cea761c19b9ac7b (patch) | |
tree | 45f5eb3d6ab9f0848ff2a073e5a49a4ed5577efd /lang | |
parent | 5f0b1aa638759d0b0f0f7669d8e940a4534cbbd3 (diff) | |
download | pkgsrc-9ec6881d64bb487462f9991d1cea761c19b9ac7b.tar.gz |
Add C++ include path for NetBSD's /usr/include/g++, addresses
PR pkg/43237 by NAKAJIMA Yoshihiro.
This isn't too useful yet due to an incompatibility (apparently
a bug in gcc-4.1) which will be fixed soon.
bump PKGREVISION
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang/Makefile | 3 | ||||
-rw-r--r-- | lang/clang/distinfo | 3 | ||||
-rw-r--r-- | lang/clang/patches/patch-af | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile index ad40092ceb5..4208179e0e3 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2010/04/27 15:12:08 drochner Exp $ +# $NetBSD: Makefile,v 1.5 2010/05/04 16:52:16 drochner Exp $ # DISTNAME= clang-2.7 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ DISTFILES= llvm-2.7.tgz clang-2.7.tgz diff --git a/lang/clang/distinfo b/lang/clang/distinfo index 8a801459b2f..c49d76677cb 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2010/04/27 15:12:08 drochner Exp $ +$NetBSD: distinfo,v 1.4 2010/05/04 16:52:16 drochner Exp $ SHA1 (clang-2.7.tgz) = 4d8326bfe2308a7355a5e4ca2eb172bffd761e1e RMD160 (clang-2.7.tgz) = 177fdcf59be4a60c37cf0dfb058535c9cdbbad4e @@ -9,3 +9,4 @@ Size (llvm-2.7.tgz) = 8374297 bytes SHA1 (patch-ac) = 3b8b72035d391456c58ffb787284b1fb873b6732 SHA1 (patch-ad) = b90fa4fa75ef1f7c8cb9475798bf7f8e53e6baa9 SHA1 (patch-ae) = 7ace4a3835f5998fbd9582f531237977dc948849 +SHA1 (patch-af) = 440f939c1f3500e6a96b95f4ba63051c1e3f5f10 diff --git a/lang/clang/patches/patch-af b/lang/clang/patches/patch-af new file mode 100644 index 00000000000..0cd81e7ce7f --- /dev/null +++ b/lang/clang/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2010/05/04 16:52:16 drochner Exp $ + +--- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig 2010-05-04 10:43:04.000000000 +0000 ++++ tools/clang/lib/Frontend/InitHeaderSearch.cpp +@@ -637,6 +637,9 @@ void InitHeaderSearch::AddDefaultCPlusPl + case llvm::Triple::FreeBSD: + AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.2", "", "", "", triple); + break; ++ case llvm::Triple::NetBSD: ++ AddGnuCPlusPlusIncludePaths("/usr/include/g++", "", "", "", triple); ++ break; + case llvm::Triple::Solaris: + // Solaris - Fall though.. + case llvm::Triple::AuroraUX: |