From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/files/, media-gfx/digikam/
Date: Thu, 22 Aug 2019 14:16:31 +0000 (UTC) [thread overview]
Message-ID: <1566483337.95c14433ba569fcc4dba0279e7a1e71b8eff676c.asturm@gentoo> (raw)
commit: 95c14433ba569fcc4dba0279e7a1e71b8eff676c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 22 12:46:04 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 14:15:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c14433
media-gfx/digikam: Fix build with ImageMagick-7.0.8.60
Thanks-to: David Haller <gentoo <AT> dhaller.de>
Closes: https://bugs.gentoo.org/692326
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/digikam/digikam-6.2.0.ebuild | 1 +
.../digikam/files/digikam-6.2.0-imagemagick-7.0.8.60.patch | 14 ++++++++++++++
2 files changed, 15 insertions(+)
diff --git a/media-gfx/digikam/digikam-6.2.0.ebuild b/media-gfx/digikam/digikam-6.2.0.ebuild
index 4478b85ae23..d28773546dc 100644
--- a/media-gfx/digikam/digikam-6.2.0.ebuild
+++ b/media-gfx/digikam/digikam-6.2.0.ebuild
@@ -109,6 +109,7 @@ RESTRICT+=" test"
PATCHES=(
"${FILESDIR}/${P}-googlephoto-upload.patch"
"${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-imagemagick-7.0.8.60.patch"
)
pkg_pretend() {
diff --git a/media-gfx/digikam/files/digikam-6.2.0-imagemagick-7.0.8.60.patch b/media-gfx/digikam/files/digikam-6.2.0-imagemagick-7.0.8.60.patch
new file mode 100644
index 00000000000..264da2c34f2
--- /dev/null
+++ b/media-gfx/digikam/files/digikam-6.2.0-imagemagick-7.0.8.60.patch
@@ -0,0 +1,14 @@
+--- a/core/tests/dimg/magickloader.cpp
++++ a/core/tests/dimg/magickloader.cpp
+@@ -139,7 +139,11 @@ int main(int argc, char** argv)
+ if (inf->encoder) mode.append(QLatin1Char('W'));
+ else mode.append(QLatin1Char('-'));
+
++#if( (MagickLibVersion >= 0x708) && defined(magick_module) ) /* defined since 7.0.8.60 */
++ QString module = QLatin1String(inf->magick_module);
++#else
+ QString module = QLatin1String(inf->module);
++#endif
+ QString mime = QMimeDatabase().mimeTypeForFile(QFileInfo(QString::fromLatin1("foo.%1").arg(module))).name();
+
+ if (module != QLatin1String("DNG") &&
\ No newline at end of file
next reply other threads:[~2019-08-22 14:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 14:16 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 23:04 [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/files/, media-gfx/digikam/ Andreas Sturmlechner
2024-07-23 16:11 Andreas Sturmlechner
2024-04-22 17:07 Andreas Sturmlechner
2023-07-25 10:02 Andreas Sturmlechner
2023-07-08 16:06 Andreas Sturmlechner
2023-04-30 13:48 Andreas Sturmlechner
2023-04-25 15:35 Andreas Sturmlechner
2022-10-12 19:41 Andreas Sturmlechner
2021-11-26 10:27 Andreas Sturmlechner
2020-11-12 20:57 Andreas Sturmlechner
2020-06-30 21:44 Andreas Sturmlechner
2019-02-17 22:59 Andreas Sturmlechner
2018-05-02 19:12 Johannes Huber
2017-12-18 18:48 Andreas Sturmlechner
2017-12-06 22:08 Andreas Sturmlechner
2017-11-29 19:00 Andreas Sturmlechner
2016-12-08 17:44 Johannes Huber
2015-12-29 16:02 Michael Palimaka
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=1566483337.95c14433ba569fcc4dba0279e7a1e71b8eff676c.asturm@gentoo \
--to=asturm@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