summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/darktable/darktable-2.2.5-r1710.ebuild (renamed from media-gfx/darktable/darktable-2.2.5.ebuild)1
-rw-r--r--media-gfx/darktable/files/darktable-2.2.5-exiv2-xmp-header.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/darktable/darktable-2.2.5.ebuild b/media-gfx/darktable/darktable-2.2.5-r1710.ebuild
index 0cbe1a38..4fd30306 100644
--- a/media-gfx/darktable/darktable-2.2.5.ebuild
+++ b/media-gfx/darktable/darktable-2.2.5-r1710.ebuild
@@ -76,6 +76,7 @@ pkg_pretend() {
src_prepare() {
use cpu_flags_x86_sse3 && append-flags -msse3
+ eapply ${FILESDIR}/${P}-exiv2-xmp-header.patch
cmake-utils_src_prepare
}
diff --git a/media-gfx/darktable/files/darktable-2.2.5-exiv2-xmp-header.patch b/media-gfx/darktable/files/darktable-2.2.5-exiv2-xmp-header.patch
new file mode 100644
index 00000000..df0e3bf8
--- /dev/null
+++ b/media-gfx/darktable/files/darktable-2.2.5-exiv2-xmp-header.patch
@@ -0,0 +1,12 @@
+diff -Nur a/src/common/exif.cc b/src/common/exif.cc
+--- a/src/common/exif.cc 2017-05-28 15:22:21.000000000 +0100
++++ b/src/common/exif.cc 2017-10-17 19:25:19.417747333 +0100
+@@ -46,7 +46,7 @@
+ #include <exiv2/exif.hpp>
+ #include <exiv2/image.hpp>
+ #include <exiv2/preview.hpp>
+-#include <exiv2/xmp.hpp>
++#include <exiv2/xmp_exiv2.hpp>
+
+ #include <pugixml.hpp>
+