diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-12 08:53:57 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-13 02:12:54 +0200 |
commit | 85cfe3d430d0d89cda610d5343618757223498dc (patch) | |
tree | 2eebf7337c204f4d53e207ec7d1b2a6c821b0f4d /kde-apps | |
parent | media-sound/ncmpc: 0.34 version bump (diff) | |
download | gentoo-85cfe3d430d0d89cda610d5343618757223498dc.tar.gz gentoo-85cfe3d430d0d89cda610d5343618757223498dc.tar.bz2 gentoo-85cfe3d430d0d89cda610d5343618757223498dc.zip |
kde-apps/gwenview: Fix build with media-libs/exiv2-0.27.1
Closes: https://bugs.gentoo.org/685682
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/gwenview/files/gwenview-19.04.1-exiv2-0.27.1.patch | 34 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-19.04.1.ebuild | 2 |
2 files changed, 36 insertions, 0 deletions
diff --git a/kde-apps/gwenview/files/gwenview-19.04.1-exiv2-0.27.1.patch b/kde-apps/gwenview/files/gwenview-19.04.1-exiv2-0.27.1.patch new file mode 100644 index 000000000000..f95f26c68bda --- /dev/null +++ b/kde-apps/gwenview/files/gwenview-19.04.1-exiv2-0.27.1.patch @@ -0,0 +1,34 @@ +From 3f3e9a546fa5e9a335ad3dc9afc805fd4d2809fd Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sun, 12 May 2019 08:40:53 +0200 +Subject: [PATCH] Fix build with exiv2-0.27.1 + +Summary: Upstream is moving things around between headers. While they are busy doing that, they recommend including exiv2.hpp. + +Reviewers: #gwenview + +Tags: #gwenview + +Differential Revision: https://phabricator.kde.org/D21148 +--- + lib/imagemetainfomodel.cpp | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/lib/imagemetainfomodel.cpp b/lib/imagemetainfomodel.cpp +index d7b89ab2..58f1c13d 100644 +--- a/lib/imagemetainfomodel.cpp ++++ b/lib/imagemetainfomodel.cpp +@@ -33,9 +33,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + #include <KFormat> + + // Exiv2 +-#include <exiv2/exif.hpp> +-#include <exiv2/image.hpp> +-#include <exiv2/iptc.hpp> ++#include <exiv2/exiv2.hpp> + + // Local + #ifdef HAVE_FITS +-- +2.21.0 + diff --git a/kde-apps/gwenview/gwenview-19.04.1.ebuild b/kde-apps/gwenview/gwenview-19.04.1.ebuild index 4bc3b01ee806..d4b54e523ffb 100644 --- a/kde-apps/gwenview/gwenview-19.04.1.ebuild +++ b/kde-apps/gwenview/gwenview-19.04.1.ebuild @@ -71,6 +71,8 @@ RDEPEND="${COMMON_DEPEND} kipi? ( media-plugins/kipi-plugins:5 ) " +PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) + src_prepare() { kde5_src_prepare if ! use mpris; then |