Skip to content

Commit

Permalink
media-gfx/eom: Fix compilation with USE="-exif lcms"
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/722888
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Adam Feldman <[email protected]>
  • Loading branch information
NP-Hardass committed Aug 7, 2020
1 parent 90bbaa6 commit 2799b82
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
29 changes: 29 additions & 0 deletions media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 3b76a9f57ea65a7ebd22395eb5d3fda9cc929e8c Mon Sep 17 00:00:00 2001
From: NP-Hardass <[email protected]>
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

0 comments on commit 2799b82

Please sign in to comment.