From: Sergei Trofimovich Date: Wed, 30 Nov 2016 09:56:18 +0000 (+0000) Subject: x11-misc/xmobar: in USE=-xmp don't use XPMFile in preprocessor, bug #601262 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d792824ec49f5518240c4a50ead0e2a6cfb62e55;p=gentoo.git 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 --- 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 000000000000..8f4da6b78847 --- /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 2440311da365..dcd9f32aa67f 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