pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/hs-tar Fix build with GHC 9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/508a12155d0c
branches:  trunk
changeset: 450850:508a12155d0c
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Apr 23 00:21:47 2021 +0000

description:
Fix build with GHC 9

diffstat:

 archivers/hs-tar/Makefile                |   3 +--
 archivers/hs-tar/distinfo                |   3 ++-
 archivers/hs-tar/patches/patch-tar.cabal |  16 ++++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 06675c5a7a7c -r 508a12155d0c archivers/hs-tar/Makefile
--- a/archivers/hs-tar/Makefile Fri Apr 23 00:08:02 2021 +0000
+++ b/archivers/hs-tar/Makefile Fri Apr 23 00:21:47 2021 +0000
@@ -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 @@
 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 -r 06675c5a7a7c -r 508a12155d0c archivers/hs-tar/distinfo
--- a/archivers/hs-tar/distinfo Fri Apr 23 00:08:02 2021 +0000
+++ b/archivers/hs-tar/distinfo Fri Apr 23 00:21:47 2021 +0000
@@ -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 -r 06675c5a7a7c -r 508a12155d0c archivers/hs-tar/patches/patch-tar.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/hs-tar/patches/patch-tar.cabal  Fri Apr 23 00:21:47 2021 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index