commit:     d792824ec49f5518240c4a50ead0e2a6cfb62e55
Author:     Sergei Trofimovich <siarheit <AT> google <DOT> com>
AuthorDate: Wed Nov 30 09:56:18 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 09:58:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d792824e

x11-misc/xmobar: in USE=-xmp don't use XPMFile in preprocessor, bug #601262

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/601262

Package-Manager: portage-2.3.2

 x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch | 9 +++++++++
 x11-misc/xmobar/xmobar-0.24.3.ebuild            | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch 
b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
new file mode 100644
index 00000000..8f4da6b
--- /dev/null
+++ b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
@@ -0,0 +1,9 @@
+diff --git a/xmobar.cabal b/xmobar.cabal
+index f6a6dae..8a17579 100644
+--- a/xmobar.cabal
++++ b/xmobar.cabal
+@@ -89,3 +89,3 @@ executable xmobar
+       Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize,
+-      XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal,
++      XUtil, StatFS, Runnable, ColorCache, Window, Signal,
+       Environment,

diff --git a/x11-misc/xmobar/xmobar-0.24.3.ebuild 
b/x11-misc/xmobar/xmobar-0.24.3.ebuild
index 2440311..dcd9f32 100644
--- a/x11-misc/xmobar/xmobar-0.24.3.ebuild
+++ b/x11-misc/xmobar/xmobar-0.24.3.ebuild
@@ -48,6 +48,8 @@ DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.18.1.3
 "
 
+PATCHES=("${FILESDIR}"/${P}-noxpm.patch)
+
 src_prepare() {
        default
        # xmobar is an idle multithreaded program

Reply via email to