diff options
Diffstat (limited to 'extra/opengtl/PKGBUILD')
-rw-r--r-- | extra/opengtl/PKGBUILD | 9 |
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} \ |