summaryrefslogtreecommitdiff
path: root/extra/opengtl/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-28 17:11:34 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-28 17:11:34 -0300
commit15715eb69d409c77752f91aa6d8080ecc0262af6 (patch)
treef42b2c8578ff374221f7997920c4b3f5ae1f8202 /extra/opengtl/PKGBUILD
parent9869139d358088255d11213f0eb3bd91c5ac25a3 (diff)
parent669fbc2a8d1763b4919c25957dd0184a195b7826 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre-mips64el
Diffstat (limited to 'extra/opengtl/PKGBUILD')
-rw-r--r--extra/opengtl/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index 65c934af6..b703d4fb2 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 148868 2012-02-05 11:53:26Z ibiru $
+# $Id: PKGBUILD 159432 2012-05-24 08:42:21Z foutrelis $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andries Radu <admiral0@live.it>
pkgname=opengtl
pkgver=0.9.16
-pkgrel=1
+pkgrel=2
pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
url="http://www.opengtl.org"
arch=('i686' 'x86_64' 'mips64el')
@@ -17,6 +17,11 @@ sha1sums=('3cfe4a08e5778c13f7e74dfc822adb68f97ad048')
build() {
cd "${srcdir}"
+ # Fix build with LLVM 3.1
+ sed -i 's/LLVM_VERSION STREQUAL "3.0"/LLVM_VERSION STREQUAL "3.1"/' \
+ OpenGTL-${pkgver}/CMakeLists.txt
+ sed -i 's/ConstantArray::get/ConstantDataArray::getString/' \
+ OpenGTL-${pkgver}/OpenGTL/GTLCore/AST/Expression.cpp
mkdir build
cd build
cmake ../OpenGTL-${pkgver} \