pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f48715aa52d
branches:  trunk
changeset: 373472:2f48715aa52d
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 13:28:05 2022 +0000

description:
Fix build with GHC 9.2

diffstat:

 devel/hs-MonadRandom/distinfo                        |   3 +-
 devel/hs-MonadRandom/patches/patch-MonadRandom.cabal |  15 ++++++++++++
 www/hs-HTTP/distinfo                                 |   3 +-
 www/hs-HTTP/patches/patch-HTTP.cabal                 |  24 ++++++++++++++++++++
 4 files changed, 43 insertions(+), 2 deletions(-)

diffs (69 lines):

diff -r a7db1f092fbe -r 2f48715aa52d devel/hs-MonadRandom/distinfo
--- a/devel/hs-MonadRandom/distinfo     Fri Feb 11 13:27:52 2022 +0000
+++ b/devel/hs-MonadRandom/distinfo     Fri Feb 11 13:28:05 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:14:51 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/02/11 13:28:05 pho Exp $
 
 BLAKE2s (MonadRandom-0.5.3.tar.gz) = 8a1541944e3df8e023a2abfc66b071a92a6dfe85d76ae2be124231c282ecbb37
 SHA512 (MonadRandom-0.5.3.tar.gz) = dde2a7ad4b6f27f8f4c94653b2a7c04cff1ef7a3dfbf6d036a6ef977f5952e9c7f905f0ad110438bc2764dcc985f04c9a7f1bd25997fd6f81ee55b654a7d6768
 Size (MonadRandom-0.5.3.tar.gz) = 11259 bytes
+SHA1 (patch-MonadRandom.cabal) = 7005a7da6e53cbaa81db4691885e6f294f874eeb
diff -r a7db1f092fbe -r 2f48715aa52d devel/hs-MonadRandom/patches/patch-MonadRandom.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-MonadRandom/patches/patch-MonadRandom.cabal      Fri Feb 11 13:28:05 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-MonadRandom.cabal,v 1.3 2022/02/11 13:28:05 pho Exp $
+
+Fix build with transformers-compat-0.8
+
+--- MonadRandom.cabal.orig     2001-09-09 01:46:40.000000000 +0000
++++ MonadRandom.cabal
+@@ -29,7 +29,7 @@ library
+   build-depends:
+     base                >=2   && <5,
+     transformers        >=0.3 && <0.6,
+-    transformers-compat >=0.4 && <0.7,
++    transformers-compat >=0.4 && <0.8,
+     mtl                 >=2.1 && <2.3,
+     primitive           >=0.6 && <0.8,
+     random              >=1.0 && <1.3
diff -r a7db1f092fbe -r 2f48715aa52d www/hs-HTTP/distinfo
--- a/www/hs-HTTP/distinfo      Fri Feb 11 13:27:52 2022 +0000
+++ b/www/hs-HTTP/distinfo      Fri Feb 11 13:28:05 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:29:30 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/02/11 13:28:20 pho Exp $
 
 BLAKE2s (HTTP-4000.3.16.tar.gz) = 167902e44381fc7877d7f789e12fca4203a8f4dbe754c2c893ded2a051a820a1
 SHA512 (HTTP-4000.3.16.tar.gz) = b5136b55967d4db7569a0269b429c8e419878acc548d962af94efa5aa0ddbb8a6ab22bc3096ce3d78b61dc708996c408d4bfa55c6c7fb6c0d915389503cbd755
 Size (HTTP-4000.3.16.tar.gz) = 74516 bytes
+SHA1 (patch-HTTP.cabal) = b500985a4568211c105dae91fe7055d2a4f3e115
diff -r a7db1f092fbe -r 2f48715aa52d www/hs-HTTP/patches/patch-HTTP.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/patches/patch-HTTP.cabal      Fri Feb 11 13:28:05 2022 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-HTTP.cabal,v 1.1 2022/02/11 13:28:20 pho Exp $
+
+Fix build with GHC 9.2
+
+--- HTTP.cabal.orig    2001-09-09 01:46:40.000000000 +0000
++++ HTTP.cabal
+@@ -109,7 +109,7 @@ Library
+ 
+   -- note the test harness constraints should be kept in sync with these
+   -- where dependencies are shared
+-  Build-depends: base >= 4.3.0.0 && < 4.16, parsec >= 2.0 && < 3.2
++  Build-depends: base >= 4.3.0.0 && < 5, parsec >= 2.0 && < 3.2
+   Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12
+   Build-depends: time >= 1.1.2.3 && < 1.12
+ 
+@@ -155,7 +155,7 @@ Test-Suite test
+                      bytestring >= 0.9.1.5 && < 0.12,
+                      deepseq >= 1.3.0.0 && < 1.5,
+                      pureMD5 >= 0.2.4 && < 2.2,
+-                     base >= 4.3.0.0 && < 4.16,
++                     base >= 4.3.0.0 && < 5,
+                      split >= 0.1.3 && < 0.3,
+                      test-framework >= 0.2.0 && < 0.9,
+                      test-framework-hunit >= 0.3.0 && <0.4



Home | Main Index | Thread Index | Old Index