summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-09 06:48:15 +0000
committerpho <pho@pkgsrc.org>2020-01-09 06:48:15 +0000
commite99710330892b85581008a132e609af58fc256e4 (patch)
treeb373d32cba56be1467afa6c06f5b1f5dd9cda321 /time
parentbbd75ebe182b626c1808e6fff913204836345a8c (diff)
downloadpkgsrc-e99710330892b85581008a132e609af58fc256e4.tar.gz
Fix build with GHC 8.8
Diffstat (limited to 'time')
-rw-r--r--time/hs-time-compat/distinfo3
-rw-r--r--time/hs-time-compat/patches/patch-time-compat.cabal15
2 files changed, 17 insertions, 1 deletions
diff --git a/time/hs-time-compat/distinfo b/time/hs-time-compat/distinfo
index 32a266f06a5..127d093d783 100644
--- a/time/hs-time-compat/distinfo
+++ b/time/hs-time-compat/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/12/31 18:06:15 pho Exp $
+$NetBSD: distinfo,v 1.2 2020/01/09 06:48:15 pho Exp $
SHA1 (time-compat-1.9.2.2.tar.gz) = eef4651e2ded276321a8f7cae7b5b1766d772b2f
RMD160 (time-compat-1.9.2.2.tar.gz) = 8999a63b4c62ba9c3adf4f1f2998b2348e22ad71
SHA512 (time-compat-1.9.2.2.tar.gz) = 210e1d6b6b1dcf30337c72d45dd5f229dfbd023a1612f13dccad23131f16437b2b6a43a46e5e1341751c7b6f88f8ef1a9b5efe91b1328b12ff20552e2a952f44
Size (time-compat-1.9.2.2.tar.gz) = 49652 bytes
+SHA1 (patch-time-compat.cabal) = ab55031e4ad45ac621509c81efa8b14e595657fd
diff --git a/time/hs-time-compat/patches/patch-time-compat.cabal b/time/hs-time-compat/patches/patch-time-compat.cabal
new file mode 100644
index 00000000000..fc611b2e03f
--- /dev/null
+++ b/time/hs-time-compat/patches/patch-time-compat.cabal
@@ -0,0 +1,15 @@
+$NetBSD: patch-time-compat.cabal,v 1.1 2020/01/09 06:48:15 pho Exp $
+
+Fix build with GHC 8.8
+
+--- time-compat.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ time-compat.cabal
+@@ -45,7 +45,7 @@ library
+ base >=4.3 && <4.14
+ , base-orphans >=0.8.1 && <0.9
+ , deepseq >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.5
+- , time >=1.2 && <1.3 || >=1.4 && <1.7 || >=1.8 && <1.9 || >=1.9.2 && <1.9.3
++ , time >=1.2 && <1.3 || >=1.4 && <1.7 || >=1.8 && <1.9 || >=1.9.2 && <1.9.4
+
+ if flag(old-locale)
+ build-depends: