From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xmobar/files: xmobar-0.13-fix-build-failure-against-ghc-7.2.patch |
Date: | Mon, 02 Apr 2012 03:34:56 |
Message-Id: | 20120402033446.92F602004C@flycatcher.gentoo.org |
1 | slyfox 12/04/02 03:34:46 |
2 | |
3 | Added: xmobar-0.13-fix-build-failure-against-ghc-7.2.patch |
4 | Log: |
5 | Fixed build failure against ghc-7.2+ (bug #410449 by Phil Tooley). |
6 | |
7 | (Portage version: 2.2.0_alpha96_p5/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-misc/xmobar/files/xmobar-0.13-fix-build-failure-against-ghc-7.2.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/files/xmobar-0.13-fix-build-failure-against-ghc-7.2.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/files/xmobar-0.13-fix-build-failure-against-ghc-7.2.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xmobar-0.13-fix-build-failure-against-ghc-7.2.patch |
16 | =================================================================== |
17 | From f7fcc06097d862ca3bc6840b550a53e0b02f139f Mon Sep 17 00:00:00 2001 |
18 | From: Sergei Trofimovich <slyfox@g.o> |
19 | Date: Fri, 22 Jul 2011 12:36:06 +0300 |
20 | Subject: [PATCH] fix build failure against ghc-7.2 |
21 | |
22 | src/Plugins/Monitors/Top.hs:140:17: |
23 | Illegal bang-pattern (use -XBangPatterns): |
24 | ! r |
25 | |
26 | Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
27 | --- |
28 | src/Plugins/Monitors/Top.hs | 1 + |
29 | 1 files changed, 1 insertions(+), 0 deletions(-) |
30 | |
31 | diff --git a/src/Plugins/Monitors/Top.hs b/src/Plugins/Monitors/Top.hs |
32 | index e45210c..6001164 100644 |
33 | --- a/src/Plugins/Monitors/Top.hs |
34 | +++ b/src/Plugins/Monitors/Top.hs |
35 | @@ -13,6 +13,7 @@ |
36 | ----------------------------------------------------------------------------- |
37 | |
38 | {-# LANGUAGE ForeignFunctionInterface #-} |
39 | +{-# LANGUAGE BangPatterns #-} |
40 | |
41 | module Plugins.Monitors.Top (startTop, topMemConfig, runTopMem) where |
42 | |
43 | -- |
44 | 1.7.3.4 |