From: Andreas Sturmlechner Date: Sun, 15 Sep 2019 23:04:26 +0000 (+0200) Subject: media-gfx/darktable: Fix build with >=media-libs/exiv2-0.27.1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f9cc903bb3b2a9a5404a26c60064ad7fd56f0a6;p=gentoo.git media-gfx/darktable: Fix build with >=media-libs/exiv2-0.27.1 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- diff --git a/media-gfx/darktable/darktable-2.6.2.ebuild b/media-gfx/darktable/darktable-2.6.2.ebuild index e9bf1a97e402..c098e19ec258 100644 --- a/media-gfx/darktable/darktable-2.6.2.ebuild +++ b/media-gfx/darktable/darktable-2.6.2.ebuild @@ -72,6 +72,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}"/"${PN}"-find-opencl-header.patch "${WORKDIR}"/"${P}"-gcc9.patch + "${FILESDIR}"/"${P}"-exiv2-0.27.patch ) S="${WORKDIR}/${P/_/~}" diff --git a/media-gfx/darktable/files/darktable-2.6.2-exiv2-0.27.patch b/media-gfx/darktable/files/darktable-2.6.2-exiv2-0.27.patch new file mode 100644 index 000000000000..c0eb59bc639d --- /dev/null +++ b/media-gfx/darktable/files/darktable-2.6.2-exiv2-0.27.patch @@ -0,0 +1,21 @@ +From 556887d7a973bdf0611fcc57231e107b503d9949 Mon Sep 17 00:00:00 2001 +From: Bertrand Antoine +Date: Wed, 22 May 2019 21:49:59 +0200 +Subject: [PATCH] Fix build with exif2 >= 0.27 + +--- + tools/basecurve/exif-wrapper.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/basecurve/exif-wrapper.cpp b/tools/basecurve/exif-wrapper.cpp +index 72550721f6..f4d4d46e12 100644 +--- a/tools/basecurve/exif-wrapper.cpp ++++ b/tools/basecurve/exif-wrapper.cpp +@@ -17,6 +17,7 @@ + */ + + #include ++#include + #include + + #include \ No newline at end of file