diff options
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 |