summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-03 16:02:58 +0000
committerpho <pho@pkgsrc.org>2020-01-03 16:02:58 +0000
commitfc6b661efddb7a9dba99926948c60b3a9b607203 (patch)
tree39500a34c04dda2614347a36bde1a2d01da40ec1
parent41c357ed4eeb6b7d0f1ed7e02047618c8d1545e3 (diff)
downloadpkgsrc-fc6b661efddb7a9dba99926948c60b3a9b607203.tar.gz
Fix build with GHC >= 8
-rw-r--r--time/hs-timezone-olson/distinfo3
-rw-r--r--time/hs-timezone-olson/patches/patch-timezone-olson.cabal16
2 files changed, 18 insertions, 1 deletions
diff --git a/time/hs-timezone-olson/distinfo b/time/hs-timezone-olson/distinfo
index c9fad581412..c14d32d37b7 100644
--- a/time/hs-timezone-olson/distinfo
+++ b/time/hs-timezone-olson/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/15 08:22:15 szptvlfn Exp $
+$NetBSD: distinfo,v 1.4 2020/01/03 16:02:58 pho Exp $
SHA1 (timezone-olson-0.1.7.tar.gz) = 1b0bc3e29cfac1d2c68109f217a5de5cabbfcf75
RMD160 (timezone-olson-0.1.7.tar.gz) = 449ee503558edd64a575e47525c9407f42e6a5ee
SHA512 (timezone-olson-0.1.7.tar.gz) = 136bca829b40edd3c46f83e2d19b496da7b6e7268825ff017fa598f9dc8a9de5fd65101f417e9c22ae8b845c61c98347944971f8f41072be60d894ea148a4e0a
Size (timezone-olson-0.1.7.tar.gz) = 11313 bytes
+SHA1 (patch-timezone-olson.cabal) = 96b87c546d7578fa1ab0f642aba62e9a4f345147
diff --git a/time/hs-timezone-olson/patches/patch-timezone-olson.cabal b/time/hs-timezone-olson/patches/patch-timezone-olson.cabal
new file mode 100644
index 00000000000..b254b2636b0
--- /dev/null
+++ b/time/hs-timezone-olson/patches/patch-timezone-olson.cabal
@@ -0,0 +1,16 @@
+$NetBSD: patch-timezone-olson.cabal,v 1.1 2020/01/03 16:02:58 pho Exp $
+
+Relax the upper bound on binary and time.
+
+--- timezone-olson.cabal.orig 2015-04-30 11:22:28.000000000 +0000
++++ timezone-olson.cabal
+@@ -34,7 +34,7 @@ Library
+ , Data.Time.LocalTime.TimeZone.Olson.Types
+ Build-depends: base >= 3.0 && < 5.0,
+ timezone-series >= 0.1.0 && < 0.2,
+- time >= 1.1.4 && < 1.6,
+- binary >= 0.4.1 && < 0.8,
++ time >= 1.1.4 && < 1.7,
++ binary >= 0.4.1 && < 0.9,
+ bytestring >= 0.9 && < 1.0,
+ extensible-exceptions >= 0.1.0 && < 0.2