hugin/hugin-2014.0.0-liblensfun-0.3.0.patch

20 lines
616 B
Diff

https://bugs.gentoo.org/show_bug.cgi?id=524700
diff -Naur hugin-2014.0.0.orig/src/hugin_base/lensdb/LensDB.cpp
hugin-2014.0.0/src/hugin_base/lensdb/LensDB.cpp
--- hugin-2014.0.0.orig/src/hugin_base/lensdb/LensDB.cpp 2014-04-27
08:26:57.000000000 +0200
+++ hugin-2014.0.0/src/hugin_base/lensdb/LensDB.cpp 2014-10-08
10:44:29.445076647 +0200
@@ -620,7 +620,9 @@
break;
case LF_DIST_MODEL_NONE:
case LF_DIST_MODEL_POLY5:
+#ifdef LF_DIST_MODEL_FOV1
case LF_DIST_MODEL_FOV1:
+#endif
default:
return false;
break;