summaryrefslogtreecommitdiffstats
path: root/office/evince/0001-shell-Fix-libhandy-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/evince/0001-shell-Fix-libhandy-includes.patch')
-rw-r--r--office/evince/0001-shell-Fix-libhandy-includes.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/office/evince/0001-shell-Fix-libhandy-includes.patch b/office/evince/0001-shell-Fix-libhandy-includes.patch
new file mode 100644
index 0000000000..f0b6658549
--- /dev/null
+++ b/office/evince/0001-shell-Fix-libhandy-includes.patch
@@ -0,0 +1,56 @@
+From 960372e7fa4b0bab7244661f0a7fb926c6b1441d Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Sun, 21 Feb 2021 17:15:15 +0100
+Subject: [PATCH 1/2] shell: Fix libhandy includes
+
+The libhandy-1 pkgconfig file already includes the "libhandy-1/"
+directory, so no need to add it to our includes.
+Cflags: -I${includedir}/libhandy-1
+---
+ shell/ev-application.c | 2 +-
+ shell/ev-window.c | 2 +-
+ shell/ev-window.h | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/shell/ev-application.c b/shell/ev-application.c
+index c6f51c10..e704bda2 100644
+--- a/shell/ev-application.c
++++ b/shell/ev-application.c
+@@ -30,7 +30,7 @@
+ #include <glib/gi18n.h>
+ #include <glib/gstdio.h>
+ #include <gtk/gtk.h>
+-#include <libhandy-1/handy.h>
++#include <handy.h>
+ #ifdef GDK_WINDOWING_X11
+ #include <gdk/gdkx.h>
+ #endif
+diff --git a/shell/ev-window.c b/shell/ev-window.c
+index 6c0a2283..6a4f7f7b 100644
+--- a/shell/ev-window.c
++++ b/shell/ev-window.c
+@@ -40,7 +40,7 @@
+ #include <glib/gi18n.h>
+ #include <gio/gio.h>
+ #include <gtk/gtk.h>
+-#include <libhandy-1/handy.h>
++#include <handy.h>
+
+ #include "dzl-file-manager.h"
+ #include "ev-find-sidebar.h"
+diff --git a/shell/ev-window.h b/shell/ev-window.h
+index 746f3f85..65fe322b 100644
+--- a/shell/ev-window.h
++++ b/shell/ev-window.h
+@@ -26,7 +26,7 @@
+
+ #include <glib.h>
+ #include <gtk/gtk.h>
+-#include <libhandy-1/handy.h>
++#include <handy.h>
+
+ #include "ev-link.h"
+ #include "ev-history.h"
+--
+2.33.0
+