Date: Tuesday, May 22, 2012 @ 16:36:07 Author: foutrelis Revision: 159375
upgpkg: opengtl 0.9.16-2 Rebuild against LLVM 3.1. Modified: opengtl/trunk/PKGBUILD ----------+ PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-05-22 19:47:00 UTC (rev 159374) +++ PKGBUILD 2012-05-22 20:36:07 UTC (rev 159375) @@ -4,7 +4,7 @@ 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') @@ -17,6 +17,11 @@ 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} \