summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Feldman <NP-Hardass@gentoo.org>2020-08-06 12:01:51 -0400
committerAdam Feldman <NP-Hardass@gentoo.org>2020-08-06 23:17:39 -0400
commit2799b82a00ebdd4c0439de5075c4276fd679b29a (patch)
tree7ac10821f4aba159b7a2d227bd92b3ba07210bb9 /media-gfx/eom
parentapp-arch/engrampa: Stabilize 1.24.0-r1 for amd64, x86 (diff)
downloadgentoo-2799b82a00ebdd4c0439de5075c4276fd679b29a.tar.gz
gentoo-2799b82a00ebdd4c0439de5075c4276fd679b29a.tar.bz2
gentoo-2799b82a00ebdd4c0439de5075c4276fd679b29a.zip
media-gfx/eom: Fix compilation with USE="-exif lcms"
Closes: https://bugs.gentoo.org/722888 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
Diffstat (limited to 'media-gfx/eom')
-rw-r--r--media-gfx/eom/eom-1.24.0-r1.ebuild (renamed from media-gfx/eom/eom-1.24.0.ebuild)2
-rw-r--r--media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch29
2 files changed, 31 insertions, 0 deletions
diff --git a/media-gfx/eom/eom-1.24.0.ebuild b/media-gfx/eom/eom-1.24.0-r1.ebuild
index c1052d39a53b..b5693d8c3b2c 100644
--- a/media-gfx/eom/eom-1.24.0.ebuild
+++ b/media-gfx/eom/eom-1.24.0-r1.ebuild
@@ -54,6 +54,8 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
+PATCHES=( "${FILESDIR}/eom-1.24.0-add-gdk-includes.patch" )
+
src_configure() {
mate_src_configure \
--enable-thumbnailer \
diff --git a/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch b/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch
new file mode 100644
index 000000000000..ced5dbcdd9fa
--- /dev/null
+++ b/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch
@@ -0,0 +1,29 @@
+From 3b76a9f57ea65a7ebd22395eb5d3fda9cc929e8c Mon Sep 17 00:00:00 2001
+From: NP-Hardass <np.hardass@gmail.com>
+Date: Tue, 4 Aug 2020 19:35:28 -0400
+Subject: [PATCH] eom-metadata-reader: add gdk/gdk.h include to resolve #258
+
+be4fa2808c4e1a36c2c9b58c1267a54cdda6e495, enable wayland support
+
+added "defined(GDK_WINDOWING_x11)" macros without the accompanying gdk
+headers
+---
+ src/eom-metadata-reader.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/eom-metadata-reader.c b/src/eom-metadata-reader.c
+index cd796f0..2c93a14 100644
+--- a/src/eom-metadata-reader.c
++++ b/src/eom-metadata-reader.c
+@@ -23,6 +23,8 @@
+ #include <config.h>
+ #endif
+
++#include <gdk/gdk.h>
++
+ #include "eom-metadata-reader.h"
+ #include "eom-metadata-reader-jpg.h"
+ #include "eom-metadata-reader-png.h"
+--
+2.26.2
+