commit:     f074ed72974ef67106b7aa7b720d2aa41dae98cb
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Wed Nov 11 20:42:33 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 20:43:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f074ed72

lxde-base/lxpanel: Remove unnecessary gdk-pixbuf-xlib.h includes

Closes: https://bugs.gentoo.org/753923
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../files/lxpanel-remove-gdk-pixbuf-xlib.patch     | 26 ++++++++++++++++++++++
 lxde-base/lxpanel/lxpanel-0.10.0.ebuild            |  4 ++++
 2 files changed, 30 insertions(+)

diff --git a/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch 
b/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch
new file mode 100644
index 00000000000..7f52fb022e1
--- /dev/null
+++ b/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/753923
+
+--- a/plugins/launchtaskbar.c  2019-01-13 16:35:07.000000000 -0500
++++ b/plugins/launchtaskbar.c  2020-11-10 14:25:51.550180345 -0500
+@@ -69,5 +69,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ #include <glib/gi18n.h>
+--- a/plugins/task-button.c    2019-02-26 16:45:49.000000000 -0500
++++ b/plugins/task-button.c    2020-11-10 14:25:44.858209009 -0500
+@@ -44,5 +44,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ #include <glib/gi18n.h>
+--- a/src/plugin.c     2019-01-13 16:35:07.000000000 -0500
++++ b/src/plugin.c     2020-11-10 14:25:38.820234868 -0500
+@@ -30,5 +30,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ #include <string.h>

diff --git a/lxde-base/lxpanel/lxpanel-0.10.0.ebuild 
b/lxde-base/lxpanel/lxpanel-0.10.0.ebuild
index 83229b7c08a..5f66ef3db9f 100644
--- a/lxde-base/lxpanel/lxpanel-0.10.0.ebuild
+++ b/lxde-base/lxpanel/lxpanel-0.10.0.ebuild
@@ -41,6 +41,10 @@ DOC_CONTENTS="If you have problems with broken icons shown 
in the main panel,
 you will have to configure panel settings via its menu.
 This will not be an issue with first time installations."
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-remove-gdk-pixbuf-xlib.patch
+)
+
 src_prepare() {
        default
 

Reply via email to