summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhasso <hasso>2009-11-25 12:32:30 +0000
committerhasso <hasso>2009-11-25 12:32:30 +0000
commit38555d98234e9eab875fdee7d9387df6e58631ae (patch)
tree886bb6449dfe234de9a315172c5ad7557c73d23a /lang
parentd1be5589964cda8fa3be501a8a9bbec27bc4f1ab (diff)
downloadpkgsrc-38555d98234e9eab875fdee7d9387df6e58631ae.tar.gz
Make 'clang -pthread' work on recent DragonFly versions. The patch from
upstream svn trunk. Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/clang/Makefile4
-rw-r--r--lang/clang/distinfo3
-rw-r--r--lang/clang/patches/patch-aa13
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");