View | Details | Raw Unified | Return to bug 231750
Collapse All | Expand All

(-)b/x11-wm/hs-xmonad/Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	xmonad
4
PORTNAME=	xmonad
5
PORTVERSION=	0.13
5
PORTVERSION=	0.14
6
PORTREVISION=	4
7
CATEGORIES=	x11-wm haskell
6
CATEGORIES=	x11-wm haskell
8
7
9
MAINTAINER=	haskell@FreeBSD.org
8
MAINTAINER=	haskell@FreeBSD.org
(-)b/x11-wm/hs-xmonad/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1486836802
1
TIMESTAMP = 1538002916
2
SHA256 (cabal/xmonad-0.13.tar.gz) = f9f81b63569f18c777a939741024ec3ae34e4ec84015e5cc50f6622034a303ca
2
SHA256 (cabal/xmonad-0.14.tar.gz) = a456d091373e8d5cd7635917171763b1216814aea4a476b9ceb9cb7315980353
3
SIZE (cabal/xmonad-0.13.tar.gz) = 72034
3
SIZE (cabal/xmonad-0.14.tar.gz) = 65744
(-)a/x11-wm/hs-xmonad/files/patch-8.4.1-support (-61 lines)
Removed Link Here
1
--- src/XMonad/Core.hs.orig     2017-02-09 02:46:45 UTC
2
+++ src/XMonad/Core.hs
3
@@ -39,6 +39,7 @@ import qualified Control.Exception.Extensible as E
4
 import Control.Applicative
5
 import Control.Monad.State
6
 import Control.Monad.Reader
7
+import Data.Semigroup
8
 import Data.Default
9
 import System.FilePath
10
 import System.IO
11
@@ -56,7 +57,7 @@ import Graphics.X11.Xlib.Extras (getWindowAttributes,
12
 import Data.Typeable
13
 import Data.List ((\\))
14
 import Data.Maybe (isJust,fromMaybe)
15
-import Data.Monoid
16
+import Data.Monoid hiding ((<>))
17
18
 import qualified Data.Map as M
19
 import qualified Data.Set as S
20
@@ -151,6 +152,9 @@ instance Applicative X where
21
   pure = return
22
   (<*>) = ap
23
24
+instance Semigroup a => Semigroup (X a) where
25
+    (<>) = liftM2 (<>)
26
+
27
 instance (Monoid a) => Monoid (X a) where
28
     mempty  = return mempty
29
     mappend = liftM2 mappend
30
@@ -164,6 +168,9 @@ newtype Query a = Query (ReaderT Window X a)
31
32
 runQuery :: Query a -> Window -> X a
33
 runQuery (Query m) w = runReaderT m w
34
+
35
+instance Semigroup a => Semigroup (Query a) where
36
+    (<>) = liftM2 (<>)
37
38
 instance Monoid a => Monoid (Query a) where
39
     mempty  = return mempty
40
--- xmonad.cabal.orig   2017-02-10 22:07:40 UTC
41
+++ xmonad.cabal
42
@@ -32,7 +32,8 @@ tested-with:
43
                     GHC==7.6.3,
44
                     GHC==7.8.4,
45
                     GHC==7.10.3,
46
-                    GHC==8.0.1
47
+                    GHC==8.0.1,
48
+                    GHC==8.2.2
49
50
 data-files:         man/xmonad.hs, man/xmonad.1, man/xmonad.1.html
51
52
@@ -78,7 +79,8 @@ library
53
                    process,
54
                    unix,
55
                    utf8-string >= 0.3 && < 1.1,
56
-                   X11>=1.8 && < 1.9
57
+                   X11>=1.8 && < 1.9,
58
+                   semigroups
59
60
     if true
61
         ghc-options:        -funbox-strict-fields -Wall

Return to bug 231750