Skip to content

Commit

Permalink
media-gfx/krita: Fix build with >=media-gfx/exiv2-0.26_p20171013
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
a17r committed Oct 15, 2017
1 parent 997da50 commit 3621c54
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions media-gfx/krita/files/krita-3.2.1-exiv2-0.26.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/libs/ui/kisexiv2/kis_xmp_io.cpp 2017-10-15 22:09:56.908903726 +0200
+++ b/libs/ui/kisexiv2/kis_xmp_io.cpp 2017-10-15 22:10:23.956192118 +0200
@@ -17,7 +17,7 @@
#include "kis_xmp_io.h"

#include <string>
-#include <exiv2/xmp.hpp>
+#include <exiv2/xmp_exiv2.hpp>

#include "kis_exiv2.h"

7 changes: 5 additions & 2 deletions media-gfx/krita/krita-3.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COMMON_DEPEND="
$(add_qt_dep qtx11extras)
$(add_qt_dep qtxml)
dev-libs/boost:=
media-gfx/exiv2:=
>=media-gfx/exiv2-0.26_p20170713:=
media-libs/lcms
media-libs/libpng:0=
sys-libs/zlib
Expand Down Expand Up @@ -72,7 +72,10 @@ RDEPEND="${COMMON_DEPEND}
!app-office/calligra-l10n:4[calligra_features_krita(+)]
"

PATCHES=( "${FILESDIR}"/${PN}-3.2.0-tests-optional.patch )
PATCHES=(
"${FILESDIR}"/${PN}-3.2.0-tests-optional.patch
"${FILESDIR}"/${P}-exiv2-0.26.1.patch
)

src_configure() {
local mycmakeargs=(
Expand Down

0 comments on commit 3621c54

Please sign in to comment.