summaryrefslogtreecommitdiff
path: root/media-libs/freeimage/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-22 13:56:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-22 13:56:59 +0000
commit2f6f16889bbcd9674d325806a89c9ac4d1654990 (patch)
tree8ea39c079691ad0dbf28365fad5ce839f99ca39c /media-libs/freeimage/files
parent3fe7d7e1411e01a02dc0ac9ca275b30ba1440116 (diff)
gentoo auto-resync : 22:12:2022 - 13:56:59
Diffstat (limited to 'media-libs/freeimage/files')
-rw-r--r--media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch b/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch
new file mode 100644
index 000000000000..3005bf44d623
--- /dev/null
+++ b/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/887467
+--- a/Source/FreeImage/PluginRAW.cpp
++++ b/Source/FreeImage/PluginRAW.cpp
+@@ -693,3 +693,7 @@
+ // (-s [0..N-1]) Select one raw image from input file
++ #if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ RawProcessor->imgdata.rawparams.shot_select = 0;
++ #else
+ RawProcessor->imgdata.params.shot_select = 0;
++ #endif
+ // (-w) Use camera white balance, if possible (otherwise, fallback to auto_wb)