summaryrefslogtreecommitdiff
path: root/graphics/libfpx/files/patch-warnings
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libfpx/files/patch-warnings')
-rw-r--r--graphics/libfpx/files/patch-warnings20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/libfpx/files/patch-warnings b/graphics/libfpx/files/patch-warnings
new file mode 100644
index 000000000000..a9de525cd133
--- /dev/null
+++ b/graphics/libfpx/files/patch-warnings
@@ -0,0 +1,20 @@
+Shift indentation to avoid the "misleading indentation" warning
+from LLVM10. I admit, that the original author's intent escapes
+me here, so I cannot tell, if we have an actual bug remaining
+in this code.
+
+ -mi
+
+--- fpx/ptil_fpx.cpp 2013-09-02 11:45:00.000000000 -0400
++++ fpx/ptil_fpx.cpp 2020-03-17 18:11:00.425447000 -0400
+@@ -1200,7 +1200,7 @@
+ pixelsSpace = tmpPixelSpace;
+ }
+- imageParam->GetContrast( &contrastValue);
+- Contrast( contrastValue, pixelsSpace, pixels, width * height);
+- }
++ imageParam->GetContrast( &contrastValue);
++ Contrast( contrastValue, pixelsSpace, pixels, width * height);
++ }
+ }
+