From fe03b19cff75cc394adef109c65ce776f436d6ad Mon Sep 17 00:00:00 2001 From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Wed, 21 Oct 2020 08:42:40 +0200 Subject: xfce-extra/xfce4-cpugraph-plugin: panel-4.15 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../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(-) create mode 100644 xfce-extra/xfce4-cpugraph-plugin/files/xfce4-cpugraph-plugin-1.1.0-panel-4.15.patch (limited to 'xfce-extra/xfce4-cpugraph-plugin') 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 +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 ++#include + + #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 -- cgit v1.2.3-65-gdbad