pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/hs-integer-logarithms Fix build with GHC 9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56deb7627175
branches:  trunk
changeset: 373319:56deb7627175
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 09:12:14 2022 +0000

description:
Fix build with GHC 9.2

diffstat:

 math/hs-integer-logarithms/distinfo                               |   4 +-
 math/hs-integer-logarithms/patches/patch-integer-logarithms.cabal |  28 ++++++++-
 2 files changed, 25 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r ca3a8ef94387 -r 56deb7627175 math/hs-integer-logarithms/distinfo
--- a/math/hs-integer-logarithms/distinfo       Fri Feb 11 09:11:18 2022 +0000
+++ b/math/hs-integer-logarithms/distinfo       Fri Feb 11 09:12:14 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/01/17 03:10:10 pho Exp $
+$NetBSD: distinfo,v 1.7 2022/02/11 09:12:14 pho Exp $
 
 BLAKE2s (integer-logarithms-1.0.3.1.tar.gz) = 3b7f4ffcacd889387ab2b44b3db11b349acb5a6d3206e2869fe21e86fac051c5
 SHA512 (integer-logarithms-1.0.3.1.tar.gz) = 670aff419de8d6afd1b7e1a40b68290bcf7aefad788c3b08aebfa5ca3e709f5d22543fce82fb75dc18b3ba0ef6d8a8f61735cde647a7a6c9392a60ec365534b3
 Size (integer-logarithms-1.0.3.1.tar.gz) = 9023 bytes
-SHA1 (patch-integer-logarithms.cabal) = 21534700040787d1aaa355744944953ca398effb
+SHA1 (patch-integer-logarithms.cabal) = 1a59b3b3316353dc0191c14c29cb4e87ce90ddb7
diff -r ca3a8ef94387 -r 56deb7627175 math/hs-integer-logarithms/patches/patch-integer-logarithms.cabal
--- a/math/hs-integer-logarithms/patches/patch-integer-logarithms.cabal Fri Feb 11 09:11:18 2022 +0000
+++ b/math/hs-integer-logarithms/patches/patch-integer-logarithms.cabal Fri Feb 11 09:12:14 2022 +0000
@@ -1,15 +1,33 @@
-$NetBSD: patch-integer-logarithms.cabal,v 1.3 2022/01/17 03:10:11 pho Exp $
+$NetBSD: patch-integer-logarithms.cabal,v 1.4 2022/02/11 09:12:14 pho Exp $
 
-Compatibility with GHC 9.0.2
+Compatibility with GHC 9.2
 
---- integer-logarithms.cabal.orig      2022-01-17 03:06:30.101400283 +0000
+--- integer-logarithms.cabal.orig      2001-09-09 01:46:40.000000000 +0000
 +++ integer-logarithms.cabal
-@@ -65,7 +65,7 @@ library
+@@ -56,8 +56,8 @@ library
+   hs-source-dirs:   src
+   build-depends:
+       array     >=0.3 && <0.6
+-    , base      >=4.3 && <4.16
+-    , ghc-prim  >=0   && <0.8
++    , base      >=4.3 && <5
++    , ghc-prim  >=0   && <0.9
+ 
+   if !impl(ghc >=7.10)
+     build-depends: nats >=1.1.2 && <1.2
+@@ -65,13 +65,13 @@ library
    if impl(ghc >=9.0)
      build-depends:
          base        >=4.15
 -      , ghc-bignum  >=1.0  && <1.1
-+      , ghc-bignum  >=1.0  && <1.2
++      , ghc-bignum  >=1.0  && <1.3
  
      if !flag(integer-gmp)
        build-depends: invalid-cabal-flag-settings <0
+ 
+   else
+-    build-depends: base <4.15
++    build-depends: base <5
+ 
+     if flag(integer-gmp)
+       build-depends: integer-gmp <1.1



Home | Main Index | Thread Index | Old Index