summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Julian Ospald <hasufell@posteo.de> 2017-01-14 19:48:06 +0100
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2017-02-06 11:20:06 +0100
commit2e9b607f09af03c6126f82f5d05aae534794a2f5 (patch)
treeacb5cec3156c4b41a31cd351d34552364a70b09d
parentd6729f304334ed36f281b7960a4c232d3d5d09b9 (diff)
downloadhaskell-2e9b607f09af03c6126f82f5d05aae534794a2f5.tar.gz
haskell-2e9b607f09af03c6126f82f5d05aae534794a2f5.tar.xz
dev-haskell/hackage-security: Added support for directory 1.3.*
Change-Id: I12d494edd8f936db4f06285ad20e577b0c44f715 Reviewed-on: https://galileo.mailstation.de/gerrit/8020 Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--packages/dev-haskell/hackage-security/files/e4bff90a82a588ff2d0beedfc50d5fdf75861d48.patch37
-rw-r--r--packages/dev-haskell/hackage-security/hackage-security-0.5.2.2.exheres-04
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/dev-haskell/hackage-security/files/e4bff90a82a588ff2d0beedfc50d5fdf75861d48.patch b/packages/dev-haskell/hackage-security/files/e4bff90a82a588ff2d0beedfc50d5fdf75861d48.patch
new file mode 100644
index 0000000..167b48c
--- /dev/null
+++ b/packages/dev-haskell/hackage-security/files/e4bff90a82a588ff2d0beedfc50d5fdf75861d48.patch
@@ -0,0 +1,37 @@
+From e4bff90a82a588ff2d0beedfc50d5fdf75861d48 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9s=20Sicard-Ram=C3=ADrez?= <asr@eafit.edu.co>
+Date: Wed, 21 Dec 2016 13:56:46 -0500
+Subject: [PATCH] Added support for directory 1.3.* (#177)
+
+* [ hackage-security ] Supported directory 1.3.*.
+
+The directory 1.3.0.0 library is shipped with GHC 8.0.2 RC2.
+---
+ hackage-security/hackage-security.cabal | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/hackage-security/hackage-security.cabal b/hackage-security/hackage-security.cabal
+index 880f47a..943ef8e 100644
+--- a/hackage-security.cabal
++++ b/hackage-security.cabal
+@@ -101,7 +101,6 @@ library
+ bytestring >= 0.9 && < 0.11,
+ Cabal >= 1.14 && < 1.26,
+ containers >= 0.4 && < 0.6,
+- directory >= 1.1.0.2 && < 1.3,
+ ed25519 >= 0.0 && < 0.1,
+ filepath >= 1.2 && < 1.5,
+ mtl >= 2.2 && < 2.3,
+@@ -118,9 +117,10 @@ library
+ template-haskell,
+ ghc-prim
+ if flag(old-directory)
+- build-depends: directory < 1.2, old-time >= 1 && < 1.2
++ build-depends: directory >= 1.1.0.2 && < 1.2,
++ old-time >= 1 && < 1.2
+ else
+- build-depends: directory >= 1.2
++ build-depends: directory >= 1.2 && < 1.4
+ hs-source-dirs: src
+ default-language: Haskell2010
+ default-extensions: DefaultSignatures
diff --git a/packages/dev-haskell/hackage-security/hackage-security-0.5.2.2.exheres-0 b/packages/dev-haskell/hackage-security/hackage-security-0.5.2.2.exheres-0
index 4e6135e..5f4c9ca 100644
--- a/packages/dev-haskell/hackage-security/hackage-security-0.5.2.2.exheres-0
+++ b/packages/dev-haskell/hackage-security/hackage-security-0.5.2.2.exheres-0
@@ -49,3 +49,7 @@ DEPENDENCIES="
")
"
+DEFAULT_SRC_PREPARE_PATCHES=(
+ "${FILES}"/e4bff90a82a588ff2d0beedfc50d5fdf75861d48.patch
+)
+