summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-04-23 00:21:47 +0000
committerpho <pho@pkgsrc.org>2021-04-23 00:21:47 +0000
commit15576b15424bf17dfc777d14b76859617cde4c73 (patch)
treea8759572c6f9e91860218b836f76d63b97c24240 /archivers
parentaff287c5bb3f92c9e157f8e6e6af716c245e3a8b (diff)
downloadpkgsrc-15576b15424bf17dfc777d14b76859617cde4c73.tar.gz
Fix build with GHC 9
Diffstat (limited to 'archivers')
-rw-r--r--archivers/hs-tar/Makefile3
-rw-r--r--archivers/hs-tar/distinfo3
-rw-r--r--archivers/hs-tar/patches/patch-tar.cabal16
3 files changed, 19 insertions, 3 deletions
diff --git a/archivers/hs-tar/Makefile b/archivers/hs-tar/Makefile
index 98a2cd427f6..4b60c300c46 100644
--- a/archivers/hs-tar/Makefile
+++ b/archivers/hs-tar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/02/18 15:07:28 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/04/23 00:21:47 pho Exp $
DISTNAME= tar-0.5.1.1
CATEGORIES= archivers
@@ -7,6 +7,5 @@ MAINTAINER= pho@cielonegro.org
COMMENT= Reading, writing, and manipulating ".tar" archive files
LICENSE= modified-bsd
-BUILDLINK_API_DEPENDS.ghc+= ghc<8.10
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/hs-tar/distinfo b/archivers/hs-tar/distinfo
index 6513105b389..07ac05798b0 100644
--- a/archivers/hs-tar/distinfo
+++ b/archivers/hs-tar/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/19 00:58:38 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/23 00:21:47 pho Exp $
SHA1 (tar-0.5.1.1.tar.gz) = f543ce716252b4291da1981ed09e56ed2fc777a8
RMD160 (tar-0.5.1.1.tar.gz) = 126de49342aad77be3af61d9b8d5c44db7af22e7
SHA512 (tar-0.5.1.1.tar.gz) = 8d0a8d3ae178570e0842a2321a7fc86a6bba28c471ec27bafbc07fc4ac0e4183f8113c99ebc7126dc71759c33083791122be32563fb0d5a2b2d39cb3b36171f2
Size (tar-0.5.1.1.tar.gz) = 39155 bytes
+SHA1 (patch-tar.cabal) = f69fe9fda4e4f833213355f1565cfb723800a000
diff --git a/archivers/hs-tar/patches/patch-tar.cabal b/archivers/hs-tar/patches/patch-tar.cabal
new file mode 100644
index 00000000000..b9a8472a90b
--- /dev/null
+++ b/archivers/hs-tar/patches/patch-tar.cabal
@@ -0,0 +1,16 @@
+$NetBSD: patch-tar.cabal,v 1.1 2021/04/23 00:21:47 pho Exp $
+
+Relax the dependency constraint. The package is known to be compatible
+with GHC 9.
+
+--- tar.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ tar.cabal
+@@ -40,7 +40,7 @@ flag old-bytestring
+
+ library
+
+- build-depends: base >= 4 && < 4.14,
++ build-depends: base >= 4 && < 5,
+ filepath < 1.5,
+ array < 0.6,
+ containers >= 0.2 && < 0.7,