summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Scholz <uwescholz@src.gnome.org>2019-07-07 12:10:30 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-07 23:36:40 +0200
commiteefb5b9bd1af103688a7dee4c0db9a7fcee35a3a (patch)
tree9f8571d7e05b39b1269b0f41fc831d0c90c5a703 /gnome-extra/gnome-commander
parentgames-rpg/hatoful-boyfriend-holiday-star: New package (diff)
downloadgentoo-eefb5b9bd1af103688a7dee4c0db9a7fcee35a3a.tar.gz
gentoo-eefb5b9bd1af103688a7dee4c0db9a7fcee35a3a.tar.bz2
gentoo-eefb5b9bd1af103688a7dee4c0db9a7fcee35a3a.zip
gnome-extra/gnome-commander: patch for compiling with exiv2-0.27.1
Closes: https://bugs.gentoo.org/688452 Signed-off-by: Uwe Scholz <uwescholz@src.gnome.org> Closes: https://github.com/gentoo/gentoo/pull/12400 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-commander')
-rw-r--r--gnome-extra/gnome-commander/files/gnome-commander-1.10.0-exiv2-0.27.1-missing-header.patch25
-rw-r--r--gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild3
2 files changed, 28 insertions, 0 deletions
diff --git a/gnome-extra/gnome-commander/files/gnome-commander-1.10.0-exiv2-0.27.1-missing-header.patch b/gnome-extra/gnome-commander/files/gnome-commander-1.10.0-exiv2-0.27.1-missing-header.patch
new file mode 100644
index 000000000000..01772528c4bc
--- /dev/null
+++ b/gnome-extra/gnome-commander/files/gnome-commander-1.10.0-exiv2-0.27.1-missing-header.patch
@@ -0,0 +1,25 @@
+From 1f98b4a87df3d68b8dd6a2eef24521db7a4d5c75 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtasaka@fedoraproject.org>
+Date: Wed, 15 May 2019 18:13:29 +0900
+Subject: [PATCH] Fix compilation error with exiv2 0.27.1
+
+Due to the change in https://github.com/Exiv2/exiv2/commit/71498411c19e6b97a24245b5a1a22063c76a972a ,
+gnome-cmd-tags-exiv2.cc does not compile with exiv2 0.27.1 .
+
+This commit is to fix the error.
+---
+ src/tags/gnome-cmd-tags-exiv2.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/tags/gnome-cmd-tags-exiv2.cc b/src/tags/gnome-cmd-tags-exiv2.cc
+index 807e6f43..e4b269f3 100644
+--- a/src/tags/gnome-cmd-tags-exiv2.cc
++++ b/src/tags/gnome-cmd-tags-exiv2.cc
+@@ -33,6 +33,7 @@
+ #ifdef HAVE_EXIV2
+ #include <exiv2/exif.hpp>
+ #include <exiv2/image.hpp>
++#include <exiv2/error.hpp>
+ #endif
+
+ using namespace std;
diff --git a/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild b/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
index 87303c532e84..4845978b3792 100644
--- a/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
+++ b/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
@@ -31,6 +31,9 @@ RDEPEND="
pdf? ( >=app-text/poppler-0.18 )
taglib? ( >=media-libs/taglib-1.4 )
"
+
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1-missing-header.patch" )
+
DEPEND="
${RDEPEND}
dev-util/gtk-doc-am