summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-11 13:28:05 +0000
committerpho <pho@pkgsrc.org>2022-02-11 13:28:05 +0000
commit4514389841a104480727f519a5696921d0cc19e9 (patch)
tree8815309177bdf71bc04030c1541aacc2f3632bde /www
parent3136677aa37382986965ce5817444c0ce3f226f1 (diff)
downloadpkgsrc-4514389841a104480727f519a5696921d0cc19e9.tar.gz
Fix build with GHC 9.2
Diffstat (limited to 'www')
-rw-r--r--www/hs-HTTP/distinfo3
-rw-r--r--www/hs-HTTP/patches/patch-HTTP.cabal24
2 files changed, 26 insertions, 1 deletions
diff --git a/www/hs-HTTP/distinfo b/www/hs-HTTP/distinfo
index b7fd9c92c97..958db9d6965 100644
--- a/www/hs-HTTP/distinfo
+++ b/www/hs-HTTP/distinfo
@@ -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 --git a/www/hs-HTTP/patches/patch-HTTP.cabal b/www/hs-HTTP/patches/patch-HTTP.cabal
new file mode 100644
index 00000000000..d37cfe34f5a
--- /dev/null
+++ b/www/hs-HTTP/patches/patch-HTTP.cabal
@@ -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