x11-misc/trayer: Dont include libXmu
authorHarri Nieminen <moikkis@gmail.com>
Sun, 26 Mar 2017 07:31:06 +0000 (10:31 +0300)
committerDavid Seifert <soap@gentoo.org>
Sat, 1 Apr 2017 10:20:54 +0000 (12:20 +0200)
Gentoo-Bug: https://bugs.gentoo.org/613842
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4302

x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch [new file with mode: 0644]
x11-misc/trayer/trayer-1.0-r2.ebuild
x11-misc/trayer/trayer-1.0-r3.ebuild

diff --git a/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch b/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch
new file mode 100644 (file)
index 0000000..8b9fd29
--- /dev/null
@@ -0,0 +1,24 @@
+From 710efb0c8192e704a83fd3d4b8b3c0d6be984246 Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Sun, 26 Mar 2017 10:08:05 +0300
+Subject: [PATCH] Don't include libXmu
+
+---
+ systray/main.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/systray/main.c b/systray/main.c
+index dff5455..79cbe34 100644
+--- a/systray/main.c
++++ b/systray/main.c
+@@ -2,7 +2,6 @@
+ #include <unistd.h>
+ #include <string.h>
+-#include <X11/Xmu/WinUtil.h>
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+ #include "panel.h"
+-- 
+2.12.1
+
index eb0f827a998cf0c113ba52702eacb6414f28cfc5..9876527f2e6faaf1d487d80f2233074b8cbd97f0 100644 (file)
@@ -24,6 +24,8 @@ DEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=( "${FILESDIR}"/${P}-dont-include-libXmu.patch )
+
 src_prepare() {
        default
        # fix for as-needed, bug #141707
index 574902f5043dfa10e0ad276921783fd8de4d6b2e..ad5fb8df846f025dfbc3c9b837a9ae76f766b41f 100644 (file)
@@ -26,6 +26,7 @@ DEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch
+       "${FILESDIR}"/${P}-dont-include-libXmu.patch
        "${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch
 )