summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>2020-10-21 08:42:40 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-21 09:45:05 +0200
commitfe03b19cff75cc394adef109c65ce776f436d6ad (patch)
tree61b44cfc2605b3267e1fb0d159ea5e8b8154990d /xfce-extra
parentdev-python/awscli: 1.18.160 version bump (diff)
downloadgentoo-fe03b19cff75cc394adef109c65ce776f436d6ad.tar.gz
gentoo-fe03b19cff75cc394adef109c65ce776f436d6ad.tar.bz2
gentoo-fe03b19cff75cc394adef109c65ce776f436d6ad.zip
xfce-extra/xfce4-cpugraph-plugin: panel-4.15 compatibility
Closes: https://bugs.gentoo.org/730886 Closes: https://bugs.gentoo.org/744058 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17986 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-cpugraph-plugin/files/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch25
-rw-r--r--xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.1.0.ebuild4
2 files changed, 28 insertions, 1 deletions
diff --git a/xfce-extra/xfce4-cpugraph-plugin/files/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch b/xfce-extra/xfce4-cpugraph-plugin/files/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch
new file mode 100644
index 000000000000..dd12aa3331eb
--- /dev/null
+++ b/xfce-extra/xfce4-cpugraph-plugin/files/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch
@@ -0,0 +1,25 @@
+From a9b0c62d34737cc6f5e0806c8f5305c137f9f155 Mon Sep 17 00:00:00 2001
+From: Andre Miranda <andreldm@xfce.org>
+Date: Fri, 4 Oct 2019 00:41:13 -0300
+Subject: [PATCH] Allow compilation with panel 4.15
+
+---
+ panel-plugin/cpu.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panel-plugin/cpu.h b/panel-plugin/cpu.h
+index 71c90a2..f6d11ee 100644
+--- a/panel-plugin/cpu.h
++++ b/panel-plugin/cpu.h
+@@ -28,7 +28,7 @@
+ #include "config.h"
+ #endif
+
+-#include <libxfce4panel/xfce-panel-plugin.h>
++#include <libxfce4panel/libxfce4panel.h>
+
+ #include "os.h"
+
+--
+GitLab
+
diff --git a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.1.0.ebuild b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.1.0.ebuild
index c63a69c5752e..b7377089eb16 100644
--- a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.1.0.ebuild
+++ b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,6 +21,8 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch" )
+
src_install() {
default
find "${ED}" -name '*.la' -delete || die