Compatibility with upcoming GHC 9.0.2

This commit is contained in:
pho 2022-01-17 05:06:55 +00:00
parent 7feb29accd
commit 9d5c4db36e
4 changed files with 21 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.15 2021/05/03 19:00:59 pho Exp $
# $NetBSD: Makefile,v 1.16 2022/01/17 05:06:55 pho Exp $
DISTNAME= hashable-1.3.1.0
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.13 2021/05/03 19:00:59 pho Exp $
# $NetBSD: buildlink3.mk,v 1.14 2022/01/17 05:06:55 pho Exp $
BUILDLINK_TREE+= hs-hashable
@ -6,7 +6,7 @@ BUILDLINK_TREE+= hs-hashable
HS_HASHABLE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-hashable+= hs-hashable>=1.3.1
BUILDLINK_ABI_DEPENDS.hs-hashable+= hs-hashable>=1.3.1.0nb1
BUILDLINK_ABI_DEPENDS.hs-hashable+= hs-hashable>=1.3.1.0nb2
BUILDLINK_PKGSRCDIR.hs-hashable?= ../../devel/hs-hashable
.endif # HS_HASHABLE_BUILDLINK3_MK

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.9 2021/10/26 10:14:57 nia Exp $
$NetBSD: distinfo,v 1.10 2022/01/17 05:06:55 pho Exp $
BLAKE2s (hashable-1.3.1.0.tar.gz) = 8e33caaeea3ce9d6da6f466e67ff14e68a67e39cd08bb957f742fd1cc64b18a7
SHA512 (hashable-1.3.1.0.tar.gz) = dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751
Size (hashable-1.3.1.0.tar.gz) = 21424 bytes
SHA1 (patch-hashable.cabal) = deaeb9523af9aab400289e1d054908862a07fc18

View file

@ -0,0 +1,15 @@
$NetBSD: patch-hashable.cabal,v 1.1 2022/01/17 05:06:55 pho Exp $
Compatibility with GHC 9.0.2
--- hashable.cabal.orig 2022-01-17 05:04:19.964223017 +0000
+++ hashable.cabal
@@ -44,7 +44,7 @@ Library
, ghc-prim
if impl(ghc >= 9)
- Build-depends: ghc-bignum >= 1.0 && <1.1
+ Build-depends: ghc-bignum >= 1.0 && <1.2
else
if flag(integer-gmp)
Build-depends: integer-gmp >= 0.4 && < 1.1