summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-12-22 20:58:51 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-12-22 21:02:44 -0500
commitcfbae17669d5be64dd7e9e6337c294e935fb984e (patch)
tree36be05cf404ce415aa0fe15e6800c1bf446a798d /media-libs/freeimage
parentapp-misc/beep: drop 1.4.9 (diff)
downloadgentoo-cfbae17669d5be64dd7e9e6337c294e935fb984e.tar.gz
gentoo-cfbae17669d5be64dd7e9e6337c294e935fb984e.tar.bz2
gentoo-cfbae17669d5be64dd7e9e6337c294e935fb984e.zip
media-libs/freeimage: adjust libraw patch style for consistency
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/freeimage')
-rw-r--r--media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.0.patch (renamed from media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch)6
-rw-r--r--media-libs/freeimage/freeimage-3.18.0-r10.ebuild2
2 files changed, 4 insertions, 4 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.0.patch
index 3005bf44d623..906590bbd329 100644
--- 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.0.patch
@@ -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)
diff --git a/media-libs/freeimage/freeimage-3.18.0-r10.ebuild b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
index 24e12d89db37..502ee0298dbe 100644
--- a/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
+++ b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
@@ -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() {