summaryrefslogtreecommitdiff
path: root/community/ldc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-20 00:04:38 -0800
committerroot <root@rshg054.dnsready.net>2013-02-20 00:04:38 -0800
commit1bd47d3e04c409582486ea3ec915d3b7899f6841 (patch)
treef09c9d0e2af9846a6fe61c07c3d7973c979f103c /community/ldc
parentba105c9a82cf668f973a140c1792a3c02589980d (diff)
Wed Feb 20 00:04:38 PST 2013
Diffstat (limited to 'community/ldc')
-rw-r--r--community/ldc/PKGBUILD11
-rw-r--r--community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch25
2 files changed, 4 insertions, 32 deletions
diff --git a/community/ldc/PKGBUILD b/community/ldc/PKGBUILD
index 4db3ef56e..653997fd2 100644
--- a/community/ldc/PKGBUILD
+++ b/community/ldc/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 81801 2012-12-30 15:21:03Z foutrelis $
+# $Id: PKGBUILD 84438 2013-02-19 02:32:24Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=ldc
-pkgver=20121225
+pkgver=20130219
pkgrel=1
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
arch=('i686' 'x86_64')
@@ -10,8 +10,8 @@ license=('BSD')
depends=('llvm' 'libconfig')
makedepends=('git' 'cmake')
backup=('etc/ldc2.conf')
-source=(fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch)
-md5sums=('0dacd8e4b8f88030c107dbb2a35bcc42')
+source=()
+md5sums=()
_gitroot=git://github.com/ldc-developers/ldc.git
_gitname=ldc
@@ -38,9 +38,6 @@ build() {
git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
- # llvm/Support/IRBuilder.h was relocated in LLVM 3.2
- patch -Np1 -i "$srcdir/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch"
-
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch b/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
deleted file mode 100644
index f5977e4a4..000000000
--- a/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 984207e348fe9ef1444cbec897cb8c429859a9c0 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos@foutrelis.com>
-Date: Tue, 25 Dec 2012 04:55:30 +0200
-Subject: [PATCH] Fix llvm/IRBuilder.h include when using LLVM 3.2
-
----
- gen/passes/GarbageCollect2Stack.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gen/passes/GarbageCollect2Stack.cpp b/gen/passes/GarbageCollect2Stack.cpp
-index f20bdd4..9927615 100644
---- a/gen/passes/GarbageCollect2Stack.cpp
-+++ b/gen/passes/GarbageCollect2Stack.cpp
-@@ -27,7 +27,7 @@
- #include "llvm/Intrinsics.h"
- #include "llvm/Support/CallSite.h"
- #include "llvm/Support/CommandLine.h"
--#if LDC_LLVM_VER >= 303
-+#if LDC_LLVM_VER >= 302
- #include "llvm/IRBuilder.h"
- #else
- #include "llvm/Support/IRBuilder.h"
---
-1.8.0.2
-