diff options
author | hasso <hasso@pkgsrc.org> | 2009-11-25 12:32:30 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-11-25 12:32:30 +0000 |
commit | 014cffe03a71566726c390131a217d240fa0c586 (patch) | |
tree | 886bb6449dfe234de9a315172c5ad7557c73d23a /lang/clang | |
parent | 72aaaea0f87c0797775153dd6ad382588f06f050 (diff) | |
download | pkgsrc-014cffe03a71566726c390131a217d240fa0c586.tar.gz |
Make 'clang -pthread' work on recent DragonFly versions. The patch from
upstream svn trunk. Bump PKGREVISION.
Diffstat (limited to 'lang/clang')
-rw-r--r-- | lang/clang/Makefile | 4 | ||||
-rw-r--r-- | lang/clang/distinfo | 3 | ||||
-rw-r--r-- | lang/clang/patches/patch-aa | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 1d16d31ad12..8ce260947a1 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2009/11/17 11:54:10 asau Exp $ +# $NetBSD: Makefile,v 1.3 2009/11/25 12:32:30 hasso Exp $ # DISTNAME= clang-2.6 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ DISTFILES= llvm-2.6.tar.gz clang-2.6.tar.gz diff --git a/lang/clang/distinfo b/lang/clang/distinfo index 8a4fe12bcd1..bc4b9363c61 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/11/16 23:24:37 drochner Exp $ +$NetBSD: distinfo,v 1.2 2009/11/25 12:32:30 hasso Exp $ SHA1 (clang-2.6.tar.gz) = 188f29ad3b2c64fcdc791aa34b323ed06452d7ae RMD160 (clang-2.6.tar.gz) = b7e44abbf28902ff8e3fd4578a5ff9dd34f40817 @@ -6,6 +6,7 @@ Size (clang-2.6.tar.gz) = 3857138 bytes SHA1 (llvm-2.6.tar.gz) = 547471147cbf6d3e49539e01196ffada2c79c250 RMD160 (llvm-2.6.tar.gz) = 24d58cb052ab5879aae59eaf4885ec41186ee22a Size (llvm-2.6.tar.gz) = 7790380 bytes +SHA1 (patch-aa) = 173c470dbeab1912d29e97e9d91ec1581ed625b1 SHA1 (patch-ac) = 08bf497cae798e65100fde06e294b4b31eedbec3 SHA1 (patch-ad) = b7f4da294510666063b655540991f51c9044d618 SHA1 (patch-ae) = 61b4d1c103ba3a3332ef748998c2a8930028d780 diff --git a/lang/clang/patches/patch-aa b/lang/clang/patches/patch-aa new file mode 100644 index 00000000000..d7395e782d6 --- /dev/null +++ b/lang/clang/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2009/11/25 12:32:30 hasso Exp $ + +--- tools/clang/lib/Driver/Tools.cpp.orig 2009-11-25 12:21:45 +0200 ++++ tools/clang/lib/Driver/Tools.cpp 2009-11-25 12:22:09 +0200 +@@ -2326,7 +2326,7 @@ void dragonfly::Link::ConstructJob(Compi + + + if (Args.hasArg(options::OPT_pthread)) +- CmdArgs.push_back("-lthread_xu"); ++ CmdArgs.push_back("-lpthread"); + + if (!Args.hasArg(options::OPT_nolibc)) { + CmdArgs.push_back("-lc"); |