slackbuilds_ponce/graphics/hugin/patch.lensfun-0.3.0
titopoquito 2bd0ba6a1e graphics/hugin: Updated for version 2014.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-10-18 06:26:34 +07:00

19 lines
616 B
Text

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;