Index: files/patch-src__hugin_base__lensdb__LensDB.cpp =================================================================== --- files/patch-src__hugin_base__lensdb__LensDB.cpp (revision 0) +++ files/patch-src__hugin_base__lensdb__LensDB.cpp (working copy) @@ -0,0 +1,12 @@ +--- /usr/ports/graphics/hugin/work/hugin-2013.0.0/src/hugin_base/lensdb/LensDB.cpp.orig 2015-03-05 21:14:11.000000000 +0100 ++++ /usr/ports/graphics/hugin/work/hugin-2013.0.0/src/hugin_base/lensdb/LensDB.cpp 2015-03-05 21:19:31.000000000 +0100 +@@ -627,7 +627,9 @@ bool LensDB::GetDistortion(double focal, + break; + case LF_DIST_MODEL_NONE: + case LF_DIST_MODEL_POLY5: ++#if LF_VERSION_MAJOR == 0 && LF_VERSION_MINOR < 3 + case LF_DIST_MODEL_FOV1: ++#endif + default: + return false; + break;