on master help sign in
Cloud Haskell patches
commit498eedea21878ef262940bc67f622ef323b6d2d9 authorMichael Snoyman <michael@snoyman.com> dateThu 27 Mar 2014, 18:21 (13 years ago) parent9bfa5fc
3 files changed+89−26
Stackage/Config.hs+1−4 patching/patches/distributed-process-0.4.2.patch+67−22 patching/patches/distributed-process-simplelocalnet-0.2.0.9.patch+21
Stackage/Config.hs+1−4
@@ -169,11 +169,8 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
169169 , "cairo diagrams-cairo"
170170 , "persistent-mongoDB fpco-api"
171171 , "threepenny-gui base16-bytestring convertible"
172+ , "distributed-process distributed-process-simplelocalnet"
172173 ]
173− when (ghcVer == GhcMajorVersion 7 4 && requireHP) $
174− mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
175− [ "distributed-process distributed-process-simplelocalnet"
176− ]
177174 -- Deprecated version
178175 addRange "FP Complete <michael@fpcomplete.com>" "persistent-mongoDB" "< 1.3.1 || > 1.3.1"
179176 when (ghcVer < GhcMajorVersion 7 6) $ do
patching/patches/distributed-process-0.4.2.patch+67−22
@@ -1,30 +1,75 @@
11diff -ru orig/distributed-process.cabal new/distributed-process.cabal
2−--- orig/distributed-process.cabal 2014-03-25 06:24:53.476644211 +0200
3−+++ new/distributed-process.cabal 2014-03-25 06:24:53.000000000 +0200
4−@@ -90,7 +90,7 @@
5− Main-Is: TestCH.hs
2+--- orig/distributed-process.cabal 2014-03-27 18:20:56.752359087 +0200
3++++ new/distributed-process.cabal 2014-03-27 18:20:56.000000000 +0200
4+@@ -39,7 +39,7 @@
5+
6+ Library
67 Build-Depends: base >= 4.4 && < 5,
7− random >= 1.0 && < 1.1,
8−- ansi-terminal >= 0.5 && < 0.6,
9−+ ansi-terminal >= 0.5,
8+- binary >= 0.5 && < 0.7,
9++ binary >= 0.5,
10+ network-transport >= 0.3 && < 0.4,
11+ stm >= 2.3 && < 2.5,
12+ transformers >= 0.2 && < 0.4,
13+@@ -53,7 +53,7 @@
14+ ghc-prim >= 0.2 && < 0.4,
15+ distributed-static >= 0.2 && < 0.3,
16+ rank1dynamic >= 0.1 && < 0.2,
17+- syb >= 0.3 && < 0.4
18++ syb >= 0.3
19+ Exposed-modules: Control.Distributed.Process,
20+ Control.Distributed.Process.Serializable,
21+ Control.Distributed.Process.Closure,
22+@@ -94,7 +94,7 @@
1023 distributed-process,
1124 network-transport >= 0.3 && < 0.4,
1225 network-transport-tcp >= 0.3 && < 0.4,
13−@@ -111,7 +111,7 @@
14− Main-Is: TestClosure.hs
15− Build-Depends: base >= 4.4 && < 5,
16− random >= 1.0 && < 1.1,
17−- ansi-terminal >= 0.5 && < 0.6,
18−+ ansi-terminal >= 0.5,
19− distributed-static >= 0.2 && < 0.3,
26+- binary >= 0.5 && < 0.7,
27++ binary >= 0.5,
28+ network >= 2.3 && < 2.5,
29+ HUnit >= 1.2 && < 1.3,
30+ test-framework >= 0.6 && < 0.9,
31+@@ -137,7 +137,7 @@
2032 distributed-process,
2133 network-transport >= 0.3 && < 0.4,
22−@@ -131,7 +131,7 @@
23− Main-Is: TestStats.hs
24− Build-Depends: base >= 4.4 && < 5,
25− random >= 1.0 && < 1.1,
26−- ansi-terminal >= 0.5 && < 0.6,
27−+ ansi-terminal >= 0.5,
28− containers >= 0.4 && < 0.6,
29− stm >= 2.3 && < 2.5,
34+ network-transport-tcp >= 0.3 && < 0.4,
35+- binary >= 0.5 && < 0.7,
36++ binary >= 0.5,
37+ network >= 2.3 && < 2.5,
38+ HUnit >= 1.2 && < 1.3,
39+ test-framework >= 0.6 && < 0.9,
40+@@ -156,7 +156,7 @@
3041 distributed-process,
42+ network-transport-tcp >= 0.3 && < 0.4,
43+ bytestring >= 0.9 && < 0.11,
44+- binary >= 0.5 && < 0.7
45++ binary >= 0.5
46+ else
47+ buildable: False
48+ Main-Is: benchmarks/Throughput.hs
49+@@ -169,7 +169,7 @@
50+ distributed-process,
51+ network-transport-tcp >= 0.3 && < 0.4,
52+ bytestring >= 0.9 && < 0.11,
53+- binary >= 0.5 && < 0.7
54++ binary >= 0.5
55+ else
56+ buildable: False
57+ Main-Is: benchmarks/Latency.hs
58+@@ -182,7 +182,7 @@
59+ distributed-process,
60+ network-transport-tcp >= 0.3 && < 0.4,
61+ bytestring >= 0.9 && < 0.11,
62+- binary >= 0.5 && < 0.7
63++ binary >= 0.5
64+ else
65+ buildable: False
66+ Main-Is: benchmarks/Channels.hs
67+@@ -195,7 +195,7 @@
68+ distributed-process,
69+ network-transport-tcp >= 0.3 && < 0.4,
70+ bytestring >= 0.9 && < 0.11,
71+- binary >= 0.5 && < 0.7
72++ binary >= 0.5
73+ else
74+ buildable: False
75+ Main-Is: benchmarks/Spawns.hs
patching/patches/distributed-process-simplelocalnet-0.2.0.9.patchnew file+21
@@ -0,0 +1,21 @@
1+diff -ru orig/distributed-process-simplelocalnet.cabal new/distributed-process-simplelocalnet.cabal
2+--- orig/distributed-process-simplelocalnet.cabal 2014-03-27 18:20:56.944359088 +0200
3++++ new/distributed-process-simplelocalnet.cabal 2014-03-27 18:20:56.000000000 +0200
4+@@ -33,7 +33,7 @@
5+ network >= 2.3 && < 2.5,
6+ network-multicast >= 0.0 && < 0.1,
7+ data-accessor >= 0.2 && < 0.3,
8+- binary >= 0.5 && < 0.7,
9++ binary >= 0.5,
10+ containers >= 0.4 && < 0.6,
11+ transformers >= 0.2 && < 0.4,
12+ network-transport >= 0.3 && < 0.4,
13+@@ -55,7 +55,7 @@
14+ network >= 2.3 && < 2.5,
15+ network-multicast >= 0.0 && < 0.1,
16+ data-accessor >= 0.2 && < 0.3,
17+- binary >= 0.5 && < 0.7,
18++ binary >= 0.5,
19+ containers >= 0.4 && < 0.6,
20+ transformers >= 0.2 && < 0.4,
21+ network-transport >= 0.3 && < 0.4,