pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Fix build with GHC 9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/adf0012a2297
branches:  trunk
changeset: 373521:adf0012a2297
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 19:47:44 2022 +0000

description:
Fix build with GHC 9.2

diffstat:

 devel/hs-vault/distinfo                                                      |   3 +-
 devel/hs-vault/patches/patch-vault.cabal                                     |  19 ++++++++++
 devel/hs-vector-binary-instances/distinfo                                    |   3 +-
 devel/hs-vector-binary-instances/patches/patch-vector-binary-instances.cabal |  15 +++++++
 4 files changed, 38 insertions(+), 2 deletions(-)

diffs (64 lines):

diff -r 60ff44017eae -r adf0012a2297 devel/hs-vault/distinfo
--- a/devel/hs-vault/distinfo   Fri Feb 11 18:02:42 2022 +0000
+++ b/devel/hs-vault/distinfo   Fri Feb 11 19:47:44 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:15:04 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/02/11 19:47:58 pho Exp $
 
 BLAKE2s (vault-0.3.1.5.tar.gz) = c75c69ddb81f75469da5a69e9dec707c65834bfc82f0ecd12a833060a6ece748
 SHA512 (vault-0.3.1.5.tar.gz) = f268d192f53594d5be39db807982073591e9bb830411813d6904e5ad1bf10d16eb5f89d9a39b764f92e6e196aeaabeac1b75cd07a70c59a42ce842835758e409
 Size (vault-0.3.1.5.tar.gz) = 5431 bytes
+SHA1 (patch-vault.cabal) = 644dc3f6b6179b1c4d436495a32ec70e5805a131
diff -r 60ff44017eae -r adf0012a2297 devel/hs-vault/patches/patch-vault.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-vault/patches/patch-vault.cabal  Fri Feb 11 19:47:44 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-vault.cabal,v 1.1 2022/02/11 19:47:58 pho Exp $
+
+Fix build with GHC 9.2
+
+--- vault.cabal.orig   2001-09-09 01:46:40.000000000 +0000
++++ vault.cabal
+@@ -48,10 +48,10 @@ flag UseGHC
+ 
+ Library
+     hs-source-dirs:     src
+-    build-depends:      base >= 4.5 && < 4.16,
++    build-depends:      base >= 4.5 && < 5,
+                         containers >= 0.4 && < 0.7,
+                         unordered-containers >= 0.2.3.0 && < 0.3,
+-                        hashable >= 1.1.2.5 && < 1.4
++                        hashable >= 1.1.2.5 && < 1.5
+ 
+     if impl(ghc < 8.0)
+         build-depends:  semigroups >= 0.1 && < 1.0
diff -r 60ff44017eae -r adf0012a2297 devel/hs-vector-binary-instances/distinfo
--- a/devel/hs-vector-binary-instances/distinfo Fri Feb 11 18:02:42 2022 +0000
+++ b/devel/hs-vector-binary-instances/distinfo Fri Feb 11 19:47:44 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:15:04 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/11 19:47:44 pho Exp $
 
 BLAKE2s (vector-binary-instances-0.2.5.2.tar.gz) = a60379aa7a2c812cbf7bbe36d1b281e926546745169f1d4871355484014c6c73
 SHA512 (vector-binary-instances-0.2.5.2.tar.gz) = 885dff7f6508113c355bb125c3949fd722ea5c6e834beb3083e1e6cc16f84bba1b8fd44cd41990af79f095a18fd282dd1ccd94ccf586c5ca08e54b0454575d03
 Size (vector-binary-instances-0.2.5.2.tar.gz) = 4028 bytes
+SHA1 (patch-vector-binary-instances.cabal) = fb1973acc4050067871abc52d71ec86acfedbb1f
diff -r 60ff44017eae -r adf0012a2297 devel/hs-vector-binary-instances/patches/patch-vector-binary-instances.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-vector-binary-instances/patches/patch-vector-binary-instances.cabal      Fri Feb 11 19:47:44 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-vector-binary-instances.cabal,v 1.3 2022/02/11 19:47:44 pho Exp $
+
+Fix build with GHC 9.2
+
+--- vector-binary-instances.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ vector-binary-instances.cabal
+@@ -45,7 +45,7 @@ Library
+ 
+   -- Packages needed in order to build this package.
+   Build-depends:
+-    base > 3 && < 4.16,
++    base > 3 && < 5,
+     vector >= 0.6 && < 0.13,
+     binary >= 0.5 && < 0.11
+   Default-Language: Haskell2010



Home | Main Index | Thread Index | Old Index