commit:     89f767ce51e8550a8dd8e88959f4b74d4d1ad6da
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Wed Nov 11 19:13:42 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 19:14:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f767ce

x11-misc/fbpanel: Remove unnecessary gdk-pixbuf-xlib.h includes

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

 x11-misc/fbpanel/fbpanel-7.0-r2.ebuild             |  1 +
 .../fbpanel-7.0-remove-gdk-pixbuf-xlib.h.patch     | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild 
b/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild
index ddb2acb616c..b108230e45f 100644
--- a/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild
+++ b/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-7.0-fno-common.patch
        "${FILESDIR}"/${PN}-7.0-images.patch
        "${FILESDIR}"/${PN}-7.0-python3-shebangs.patch
+       "${FILESDIR}"/${PN}-7.0-remove-gdk-pixbuf-xlib.h.patch
 )
 
 src_prepare() {

diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-remove-gdk-pixbuf-xlib.h.patch 
b/x11-misc/fbpanel/files/fbpanel-7.0-remove-gdk-pixbuf-xlib.h.patch
new file mode 100644
index 00000000000..b2a0375bbb1
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-7.0-remove-gdk-pixbuf-xlib.h.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/753908
+
+--- a/panel/plugin.c   2015-12-05 01:34:19.000000000 -0500
++++ b/panel/plugin.c   2020-11-10 13:35:27.794816516 -0500
+@@ -3,5 +3,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ #include <string.h>
+--- a/plugins/icons/icons.c    2015-12-05 01:34:19.000000000 -0500
++++ b/plugins/icons/icons.c    2020-11-10 13:35:49.852850997 -0500
+@@ -9,5 +9,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ 
+--- a/plugins/taskbar/taskbar.c        2015-12-05 01:34:19.000000000 -0500
++++ b/plugins/taskbar/taskbar.c        2020-11-10 13:35:35.950782862 -0500
+@@ -9,5 +9,4 @@
+ 
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ 

Reply via email to