diff --git a/srcpkgs/hugin/template b/srcpkgs/hugin/template index 70d3ae88d04..3be770de495 100644 --- a/srcpkgs/hugin/template +++ b/srcpkgs/hugin/template @@ -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 +}