summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-color-manager')
-rw-r--r--gnome-extra/gnome-color-manager/files/3.36.0-remove-libcanberra-include.patch24
-rw-r--r--gnome-extra/gnome-color-manager/gnome-color-manager-3.36.0.ebuild4
2 files changed, 28 insertions, 0 deletions
diff --git a/gnome-extra/gnome-color-manager/files/3.36.0-remove-libcanberra-include.patch b/gnome-extra/gnome-color-manager/files/3.36.0-remove-libcanberra-include.patch
new file mode 100644
index 000000000000..5d3644f9bcbd
--- /dev/null
+++ b/gnome-extra/gnome-color-manager/files/3.36.0-remove-libcanberra-include.patch
@@ -0,0 +1,24 @@
+From 66aea36411477f284fa8a379b3bde282385d281c Mon Sep 17 00:00:00 2001
+From: Jan Tojnar <jtojnar@gmail.com>
+Date: Wed, 8 Apr 2020 16:41:32 +0200
+Subject: [PATCH] Remove forgotten libcanberra include
+
+---
+ src/gcm-viewer.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
+index 77463af5..d778877d 100644
+--- a/src/gcm-viewer.c
++++ b/src/gcm-viewer.c
+@@ -12,7 +12,6 @@
+ #include <gdk/gdkx.h>
+ #include <glib/gstdio.h>
+ #include <locale.h>
+-#include <canberra-gtk.h>
+ #include <colord.h>
+ #include <math.h>
+
+--
+2.20.1
+
diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.36.0.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.36.0.ebuild
index 65eb91b7db57..117633a19538 100644
--- a/gnome-extra/gnome-color-manager/gnome-color-manager-3.36.0.ebuild
+++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.36.0.ebuild
@@ -30,6 +30,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PV}-remove-libcanberra-include.patch # should be in next upstream release
+)
+
src_configure() {
# Always enable tests since they are check_PROGRAMS anyway
local emesonargs=(