summaryrefslogtreecommitdiff
path: root/standalone/android/haskell-patches
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-08 02:20:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-08 02:20:52 -0400
commit4002ca5acb20831453fd71633bb7707b8cce80c9 (patch)
treecd6e31187f170b528866a8fc0530c95fc6c25d30 /standalone/android/haskell-patches
parent78c8c9ba6107d10164b5b6482403f34dcd0fd5fd (diff)
finally got a clean build all the way through of all haskell libs
Diffstat (limited to 'standalone/android/haskell-patches')
-rw-r--r--standalone/android/haskell-patches/hamlet_1.1.6.1_0001-remove-TH.patch26
-rw-r--r--standalone/android/haskell-patches/process_1.1.0.2-0001-avoid-configure-script.patch25
-rw-r--r--standalone/android/haskell-patches/shakespeare-css_1.0.2_0001-remove-TH.patch28
-rw-r--r--standalone/android/haskell-patches/shakespeare_1.0.3_0001-remove-TH.patch28
4 files changed, 61 insertions, 46 deletions
diff --git a/standalone/android/haskell-patches/hamlet_1.1.6.1_0001-remove-TH.patch b/standalone/android/haskell-patches/hamlet_1.1.6.1_0001-remove-TH.patch
index 8a8ac29c1..1c511a132 100644
--- a/standalone/android/haskell-patches/hamlet_1.1.6.1_0001-remove-TH.patch
+++ b/standalone/android/haskell-patches/hamlet_1.1.6.1_0001-remove-TH.patch
@@ -1,13 +1,12 @@
-From aa18210b7cc124e11fb71640d993de77492b63b1 Mon Sep 17 00:00:00 2001
+From b2c677ed39f1aca3a1111691ba51b26f7fd414a4 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
-Date: Mon, 15 Apr 2013 15:08:31 -0400
+Date: Wed, 8 May 2013 01:50:58 -0400
Subject: [PATCH] remove TH
-Export functions referred to by TH splices, as these will be needed when
-using the Evil Splicer
---
- Text/Hamlet.hs | 219 ++-------------------------------------------------------
- 1 file changed, 6 insertions(+), 213 deletions(-)
+ Text/Hamlet.hs | 219 ++------------------------------------------------------
+ hamlet.cabal | 2 +-
+ 2 files changed, 7 insertions(+), 214 deletions(-)
diff --git a/Text/Hamlet.hs b/Text/Hamlet.hs
index 4ac870a..63b8555 100644
@@ -277,6 +276,19 @@ index 4ac870a..63b8555 100644
varName :: Scope -> String -> Exp
varName _ "" = error "Illegal empty varName"
varName scope v@(_:_) = fromMaybe (strToExp v) $ lookup (Ident v) scope
+diff --git a/hamlet.cabal b/hamlet.cabal
+index 73fa6a8..4348508 100644
+--- a/hamlet.cabal
++++ b/hamlet.cabal
+@@ -50,7 +50,7 @@ library
+ , text >= 0.7 && < 0.12
+ , containers >= 0.2
+ , blaze-builder >= 0.2 && < 0.4
+- , process >= 1.0 && < 1.2
++ , process >= 1.0 && < 1.3
+ , blaze-html >= 0.5 && < 0.6
+ , blaze-markup >= 0.5.1 && < 0.6
+
--
-1.8.2.rc3
+1.7.10.4
diff --git a/standalone/android/haskell-patches/process_1.1.0.2-0001-avoid-configure-script.patch b/standalone/android/haskell-patches/process_1.1.0.2-0001-avoid-configure-script.patch
deleted file mode 100644
index 63b769574..000000000
--- a/standalone/android/haskell-patches/process_1.1.0.2-0001-avoid-configure-script.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From ff72a2c501358b3cd71e15c6275ee03670748f3d Mon Sep 17 00:00:00 2001
-From: Joey Hess <joey@kitenet.net>
-Date: Tue, 7 May 2013 17:52:50 -0400
-Subject: [PATCH] avoid configure script
-
----
- process.cabal | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/process.cabal b/process.cabal
-index 8c76b08..2930fdc 100644
---- a/process.cabal
-+++ b/process.cabal
-@@ -14,7 +14,7 @@ extra-source-files:
- extra-tmp-files:
- config.log config.status autom4te.cache
- include/HsProcessConfig.h
--build-type: Configure
-+build-type: Simple
- cabal-version: >=1.6
-
- source-repository head
---
-1.7.10.4
-
diff --git a/standalone/android/haskell-patches/shakespeare-css_1.0.2_0001-remove-TH.patch b/standalone/android/haskell-patches/shakespeare-css_1.0.2_0001-remove-TH.patch
index 3e2637293..f868197a8 100644
--- a/standalone/android/haskell-patches/shakespeare-css_1.0.2_0001-remove-TH.patch
+++ b/standalone/android/haskell-patches/shakespeare-css_1.0.2_0001-remove-TH.patch
@@ -1,14 +1,15 @@
-From cb77113314702175f066cd801dee5c38d3e26576 Mon Sep 17 00:00:00 2001
+From 8f058e84892a8c4202275f524f74bd6a7097ad40 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
-Date: Thu, 28 Feb 2013 23:35:51 -0400
+Date: Wed, 8 May 2013 02:07:15 -0400
Subject: [PATCH] remove TH
---
- Text/Cassius.hs | 23 ---------------
- Text/Css.hs | 84 -----------------------------------------------------
- Text/CssCommon.hs | 4 ---
- Text/Lucius.hs | 30 +------------------
- 4 files changed, 1 insertion(+), 140 deletions(-)
+ Text/Cassius.hs | 23 --------------
+ Text/Css.hs | 84 -------------------------------------------------
+ Text/CssCommon.hs | 4 ---
+ Text/Lucius.hs | 30 +-----------------
+ shakespeare-css.cabal | 2 +-
+ 5 files changed, 2 insertions(+), 141 deletions(-)
diff --git a/Text/Cassius.hs b/Text/Cassius.hs
index ce05374..ae56b0a 100644
@@ -255,6 +256,19 @@ index b71614e..a902e1c 100644
parseTopLevels :: Parser [TopLevel]
parseTopLevels =
go id
+diff --git a/shakespeare-css.cabal b/shakespeare-css.cabal
+index de2497b..874a3b5 100644
+--- a/shakespeare-css.cabal
++++ b/shakespeare-css.cabal
+@@ -33,7 +33,7 @@ library
+ , shakespeare >= 1.0 && < 1.1
+ , template-haskell
+ , text >= 0.11.1.1 && < 0.12
+- , process >= 1.0 && < 1.2
++ , process >= 1.0 && < 1.3
+ , parsec >= 2 && < 4
+ , transformers
+
--
1.7.10.4
diff --git a/standalone/android/haskell-patches/shakespeare_1.0.3_0001-remove-TH.patch b/standalone/android/haskell-patches/shakespeare_1.0.3_0001-remove-TH.patch
index 37676dfa7..5a5b8eeb8 100644
--- a/standalone/android/haskell-patches/shakespeare_1.0.3_0001-remove-TH.patch
+++ b/standalone/android/haskell-patches/shakespeare_1.0.3_0001-remove-TH.patch
@@ -1,15 +1,16 @@
-From 2e6721d571148cb77fb8c906042f6fa61e660999 Mon Sep 17 00:00:00 2001
+From 10484c5f68431349b249f07517c392c4a90bdb05 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
-Date: Thu, 28 Feb 2013 23:35:41 -0400
+Date: Wed, 8 May 2013 01:47:19 -0400
Subject: [PATCH] remove TH
---
Text/Shakespeare.hs | 109 ----------------------------------------------
Text/Shakespeare/Base.hs | 28 ------------
- 2 files changed, 137 deletions(-)
+ shakespeare.cabal | 2 +-
+ 3 files changed, 1 insertion(+), 138 deletions(-)
diff --git a/Text/Shakespeare.hs b/Text/Shakespeare.hs
-index e774e65..d300951 100644
+index 7750135..fabbf66 100644
--- a/Text/Shakespeare.hs
+++ b/Text/Shakespeare.hs
@@ -12,11 +12,7 @@ module Text.Shakespeare
@@ -24,7 +25,7 @@ index e774e65..d300951 100644
, shakespeareUsedIdentifiers
, RenderUrl
, VarType
-@@ -133,39 +129,6 @@ defaultShakespeareSettings = ShakespeareSettings {
+@@ -135,39 +131,6 @@ defaultShakespeareSettings = ShakespeareSettings {
, modifyFinalValue = Nothing
}
@@ -64,7 +65,7 @@ index e774e65..d300951 100644
type QueryParameters = [(TS.Text, TS.Text)]
type RenderUrl url = (url -> QueryParameters -> TS.Text)
type Shakespeare url = RenderUrl url -> Builder
-@@ -300,54 +263,6 @@ pack' = TS.pack
+@@ -302,54 +265,6 @@ pack' = TS.pack
{-# NOINLINE pack' #-}
#endif
@@ -119,7 +120,7 @@ index e774e65..d300951 100644
data VarType = VTPlain | VTUrl | VTUrlParam | VTMixin
getVars :: Content -> [(Deref, VarType)]
-@@ -367,30 +282,6 @@ data VarExp url = EPlain Builder
+@@ -369,30 +284,6 @@ data VarExp url = EPlain Builder
shakespeareUsedIdentifiers :: ShakespeareSettings -> String -> [(Deref, VarType)]
shakespeareUsedIdentifiers settings = concatMap getVars . contentFromString settings
@@ -189,6 +190,19 @@ index 7c96898..ef769b1 100644
derefParens, derefCurlyBrackets :: UserParser a Deref
derefParens = between (char '(') (char ')') parseDeref
derefCurlyBrackets = between (char '{') (char '}') parseDeref
+diff --git a/shakespeare.cabal b/shakespeare.cabal
+index 01c8d5d..0fff966 100644
+--- a/shakespeare.cabal
++++ b/shakespeare.cabal
+@@ -27,7 +27,7 @@ library
+ , template-haskell
+ , parsec >= 2 && < 4
+ , text >= 0.7 && < 0.12
+- , process >= 1.0 && < 1.2
++ , process >= 1.0 && < 1.3
+
+ exposed-modules:
+ Text.Shakespeare
--
1.7.10.4