summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-11-30 09:56:18 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-11-30 09:58:44 +0000
commitd792824ec49f5518240c4a50ead0e2a6cfb62e55 (patch)
tree6373c447a2c3b88861f700a40c5189f444c6bd04 /x11-misc/xmobar
parentapp-portage/gentoopm: Unifdef and modernize the live ebuild (diff)
downloadgentoo-d792824ec49f5518240c4a50ead0e2a6cfb62e55.tar.gz
gentoo-d792824ec49f5518240c4a50ead0e2a6cfb62e55.tar.bz2
gentoo-d792824ec49f5518240c4a50ead0e2a6cfb62e55.zip
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
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch9
-rw-r--r--x11-misc/xmobar/xmobar-0.24.3.ebuild2
2 files changed, 11 insertions, 0 deletions
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