aboutsummaryrefslogtreecommitdiffstats
path: root/community/rawtherapee/gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rawtherapee/gcc6.patch')
-rw-r--r--community/rawtherapee/gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/rawtherapee/gcc6.patch b/community/rawtherapee/gcc6.patch
new file mode 100644
index 0000000000..b4ee6126a6
--- /dev/null
+++ b/community/rawtherapee/gcc6.patch
@@ -0,0 +1,11 @@
+--- ./rtexif/rtexif.h.orig
++++ ./rtexif/rtexif.h
+@@ -410,7 +410,7 @@
+ else
+ lensAperture = exp( log(a1)+(log(a2)-log(a1))/(log(f2)-log(f1))*(log(focalLength)-log(f1)) );
+
+- dif = abs(lensAperture - maxApertureAtFocal);
++ dif = std::abs(lensAperture - maxApertureAtFocal);
+ }else
+ dif = 0;
+ if( dif < deltaMin ){