summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-07-21 21:41:35 +0300
committerMart Raudsepp <leio@gentoo.org>2020-07-21 21:41:41 +0300
commit8b6af0b8752d72581ca48943e4e5ce21ee52fe0b (patch)
tree54e1d3d0f4f9af48d4732ee5b9b3a271d214a1af /gnome-extra/gnome-color-manager
parentapp-pda/gtkpod: Make repoman happy (diff)
downloadgentoo-8b6af0b8752d72581ca48943e4e5ce21ee52fe0b.tar.gz
gentoo-8b6af0b8752d72581ca48943e4e5ce21ee52fe0b.tar.bz2
gentoo-8b6af0b8752d72581ca48943e4e5ce21ee52fe0b.zip
gnome-extra/gnome-color-manager: fix build without libcanberra[gtk]
Closes: https://bugs.gentoo.org/733302 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
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=(