1 |
commit: 2f9cc903bb3b2a9a5404a26c60064ad7fd56f0a6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 15 23:04:26 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 15 23:05:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9cc903 |
7 |
|
8 |
media-gfx/darktable: Fix build with >=media-libs/exiv2-0.27.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-gfx/darktable/darktable-2.6.2.ebuild | 1 + |
14 |
.../files/darktable-2.6.2-exiv2-0.27.patch | 21 +++++++++++++++++++++ |
15 |
2 files changed, 22 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/darktable/darktable-2.6.2.ebuild b/media-gfx/darktable/darktable-2.6.2.ebuild |
18 |
index e9bf1a97e40..c098e19ec25 100644 |
19 |
--- a/media-gfx/darktable/darktable-2.6.2.ebuild |
20 |
+++ b/media-gfx/darktable/darktable-2.6.2.ebuild |
21 |
@@ -72,6 +72,7 @@ RDEPEND="${COMMON_DEPEND} |
22 |
PATCHES=( |
23 |
"${FILESDIR}"/"${PN}"-find-opencl-header.patch |
24 |
"${WORKDIR}"/"${P}"-gcc9.patch |
25 |
+ "${FILESDIR}"/"${P}"-exiv2-0.27.patch |
26 |
) |
27 |
|
28 |
S="${WORKDIR}/${P/_/~}" |
29 |
|
30 |
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 |
31 |
new file mode 100644 |
32 |
index 00000000000..c0eb59bc639 |
33 |
--- /dev/null |
34 |
+++ b/media-gfx/darktable/files/darktable-2.6.2-exiv2-0.27.patch |
35 |
@@ -0,0 +1,21 @@ |
36 |
+From 556887d7a973bdf0611fcc57231e107b503d9949 Mon Sep 17 00:00:00 2001 |
37 |
+From: Bertrand Antoine <nexus6b@×××××.com> |
38 |
+Date: Wed, 22 May 2019 21:49:59 +0200 |
39 |
+Subject: [PATCH] Fix build with exif2 >= 0.27 |
40 |
+ |
41 |
+--- |
42 |
+ tools/basecurve/exif-wrapper.cpp | 1 + |
43 |
+ 1 file changed, 1 insertion(+) |
44 |
+ |
45 |
+diff --git a/tools/basecurve/exif-wrapper.cpp b/tools/basecurve/exif-wrapper.cpp |
46 |
+index 72550721f6..f4d4d46e12 100644 |
47 |
+--- a/tools/basecurve/exif-wrapper.cpp |
48 |
++++ b/tools/basecurve/exif-wrapper.cpp |
49 |
+@@ -17,6 +17,7 @@ |
50 |
+ */ |
51 |
+ |
52 |
+ #include <exiv2/exif.hpp> |
53 |
++#include <exiv2/error.hpp> |
54 |
+ #include <exiv2/image.hpp> |
55 |
+ |
56 |
+ #include <cstdio> |
57 |
\ No newline at end of file |