From f11c24645887b7016c407ac8737981c3802a7213 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 30 Nov 2017 19:38:48 +0100 Subject: [PATCH] media-gfx/digikam: Fix build w/ Qt-5.7.0 Bug: https://bugs.gentoo.org/639300 Package-Manager: Portage-2.3.16, Repoman-2.3.6 --- media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch b/media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch index e2abe9be39cb..7001850cd9c4 100644 --- a/media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch +++ b/media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch @@ -3,6 +3,7 @@ From: Maik Qualmann Date: Tue, 28 Nov 2017 21:29:00 +0100 Subject: try to fix the Qt-5.9.3 empty album problem CCBUGS: 387373 +* asturm: Fix build w/ Qt-5.7 --- libs/database/coredb/coredburl.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) @@ -19,7 +20,7 @@ index 2c0d0eb..b1bdf71 100644 url.setScheme(QLatin1String("digikamalbums")); - url.setPath(QLatin1Char('/') + album + QLatin1Char('/') + name); + -+ if (path != QLatin1Char('/')) ++ if (path != QLatin1String("/")) + path += QLatin1Char('/'); + + url.setPath(path + name); -- 2.26.2