From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/freeimage/files/, media-libs/freeimage/
Date: Thu, 22 Dec 2022 09:55:00 +0000 (UTC) [thread overview]
Message-ID: <1671702832.0835197ed52e7862bb0b72172930444a4ae2a421.ionen@gentoo> (raw)
commit: 0835197ed52e7862bb0b72172930444a4ae2a421
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 09:51:13 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 09:53:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0835197e
media-libs/freeimage: fix build with libraw-0.21
Closes: https://bugs.gentoo.org/887467
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.patch | 11 +++++++++++
media-libs/freeimage/freeimage-3.18.0-r10.ebuild | 1 +
2 files changed, 12 insertions(+)
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)
diff --git a/media-libs/freeimage/freeimage-3.18.0-r10.ebuild b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
index bdfe70e999ad..24e12d89db37 100644
--- a/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
+++ b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
@@ -57,6 +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
)
src_prepare() {
next reply other threads:[~2022-12-22 9:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 9:55 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-16 21:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/freeimage/files/, media-libs/freeimage/ Sam James
2022-05-30 20:27 Ionen Wolkens
2022-02-15 19:51 Sam James
2020-12-29 1:05 Sam James
2020-07-19 12:02 James Le Cuirot
2019-11-26 20:26 James Le Cuirot
2019-04-14 16:25 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1671702832.0835197ed52e7862bb0b72172930444a4ae2a421.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox