summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Julian Ospald <hasufell@posteo.de> 2017-01-14 19:45:52 +0100
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2017-02-06 11:19:55 +0100
commitd6729f304334ed36f281b7960a4c232d3d5d09b9 (patch)
treecdb8ceee8e4aa3de0d99bee07cdd5fba1ca3c825
parent6eea9c1fae93d50d3562cd6ef25e32b7d89b5a35 (diff)
downloadhaskell-d6729f304334ed36f281b7960a4c232d3d5d09b9.tar.gz
haskell-d6729f304334ed36f281b7960a4c232d3d5d09b9.tar.xz
dev-haskell/mtl: fix build with transformers > 4
Change-Id: Ic65a26caeba3e51b2109875d3cb6184c2cbd8df6 Reviewed-on: https://galileo.mailstation.de/gerrit/8019 Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--packages/dev-haskell/mtl/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch22
-rw-r--r--packages/dev-haskell/mtl/mtl-2.2.1-r1.exheres-04
2 files changed, 26 insertions, 0 deletions
diff --git a/packages/dev-haskell/mtl/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch b/packages/dev-haskell/mtl/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch
new file mode 100644
index 0000000..4738a5e
--- /dev/null
+++ b/packages/dev-haskell/mtl/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch
@@ -0,0 +1,22 @@
+From 59498406a6338d93891dec3abcbdde2cb7e41325 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus <oleg.grenrus@iki.fi>
+Date: Wed, 23 Dec 2015 16:41:29 +0200
+Subject: [PATCH] Support transformers-0.5
+
+---
+ mtl.cabal | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mtl.cabal b/mtl.cabal
+index aaa5187..7702edd 100644
+--- a/mtl.cabal
++++ b/mtl.cabal
+@@ -54,7 +54,7 @@ Library
+ Control.Monad.Writer.Class
+ Control.Monad.Writer.Lazy
+ Control.Monad.Writer.Strict
+- build-depends: base < 6, transformers == 0.4.*
++ build-depends: base < 6, transformers >= 0.4 && <0.6
+ extensions:
+ MultiParamTypeClasses
+ FunctionalDependencies
diff --git a/packages/dev-haskell/mtl/mtl-2.2.1-r1.exheres-0 b/packages/dev-haskell/mtl/mtl-2.2.1-r1.exheres-0
index 88569f6..3366627 100644
--- a/packages/dev-haskell/mtl/mtl-2.2.1-r1.exheres-0
+++ b/packages/dev-haskell/mtl/mtl-2.2.1-r1.exheres-0
@@ -22,3 +22,7 @@ DEPENDENCIES="
")
"
+DEFAULT_SRC_PREPARE_PATCHES=(
+ "${FILES}"/59498406a6338d93891dec3abcbdde2cb7e41325.patch
+)
+