commit:     fe03b19cff75cc394adef109c65ce776f436d6ad
Author:     Jan Ziak <0xe2.0x9a.0x9b <AT> gmail <DOT> com>
AuthorDate: Wed Oct 21 06:42:40 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 21 07:45:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe03b19c

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 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17986
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch   | 25 ++++++++++++++++++++++
 .../xfce4-cpugraph-plugin-1.1.0.ebuild             |  4 +++-
 2 files changed, 28 insertions(+), 1 deletion(-)

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 00000000000..dd12aa3331e
--- /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 <andre...@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 c63a69c5752..b7377089eb1 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

Reply via email to