hugin: unbreak build with lensfun-0.3.0 via Arch.

This commit is contained in:
Juan RP 2015-03-08 12:27:04 +01:00
parent e0d571ede1
commit ee61bcdac5
1 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,8 @@ homepage="http://hugin.sourceforge.net/"
short_desc="An easy to use panoramic imaging toolchain"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29
pre_configure() {
# Fix compiling against lensfun-0.3.0
sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp
}