summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2020-11-11 15:42:33 -0500
committerMatt Turner <mattst88@gentoo.org>2020-11-11 15:43:22 -0500
commitf074ed72974ef67106b7aa7b720d2aa41dae98cb (patch)
tree81d4b1584a1d26fdcc90cb27b02ce21e665a16d8
parentlxde-base/lxpanel: Drop old versions (diff)
downloadgentoo-f074ed72974ef67106b7aa7b720d2aa41dae98cb.tar.gz
gentoo-f074ed72974ef67106b7aa7b720d2aa41dae98cb.tar.bz2
gentoo-f074ed72974ef67106b7aa7b720d2aa41dae98cb.zip
lxde-base/lxpanel: Remove unnecessary gdk-pixbuf-xlib.h includes
Closes: https://bugs.gentoo.org/753923 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch26
-rw-r--r--lxde-base/lxpanel/lxpanel-0.10.0.ebuild4
2 files changed, 30 insertions, 0 deletions
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 000000000000..7f52fb022e14
--- /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 83229b7c08a9..5f66ef3db9ff 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