mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
media-libs/freeimage: adjust libraw patch style for consistency
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -3,9 +3,9 @@ https://bugs.gentoo.org/887467
|
||||
+++ 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)
|
||||
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
|
||||
+ RawProcessor->imgdata.rawparams.shot_select = 0;
|
||||
+ #else
|
||||
+#else
|
||||
RawProcessor->imgdata.params.shot_select = 0;
|
||||
+ #endif
|
||||
+#endif
|
||||
// (-w) Use camera white balance, if possible (otherwise, fallback to auto_wb)
|
||||
@@ -57,7 +57,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.18.0-libraw-0.20.0.patch
|
||||
"${FILESDIR}"/${PN}-3.18.0-tiff-4.4.0.patch
|
||||
"${FILESDIR}"/${PN}-3.18.0-null-to-false.patch
|
||||
"${FILESDIR}"/${PN}-3.18.0-libraw-0.21.patch
|
||||
"${FILESDIR}"/${PN}-3.18.0-libraw-0.21.0.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user