summaryrefslogtreecommitdiff
path: root/graphics/hugin/patch.lensfun-0.3.0
blob: ff195c90e0410ce29bbc5bac86334e4989ba0c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;