pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hs-haddock-library Fix build with GHC 9.2



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

description:
Fix build with GHC 9.2

diffstat:

 textproc/hs-haddock-library/distinfo                            |   3 +-
 textproc/hs-haddock-library/patches/patch-haddock-library.cabal |  17 ++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 21d7d78f40fe -r fee13a1b8d6d textproc/hs-haddock-library/distinfo
--- a/textproc/hs-haddock-library/distinfo      Fri Feb 11 11:29:21 2022 +0000
+++ b/textproc/hs-haddock-library/distinfo      Fri Feb 11 11:29:44 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:22:00 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/11 11:29:44 pho Exp $
 
 BLAKE2s (haddock-library-1.10.0.tar.gz) = aa220f3d17668df0ad6c887880afdc26be309a7ab547d26005be8246d2c4af45
 SHA512 (haddock-library-1.10.0.tar.gz) = dac536a2b8e2764de1a1b1a16fc328e15455656c2992fb3b3bccdeae2bb6ac81fe94e164aa2a70cff7cea3b97347b8510aadb5fa1c0564bb2429947f0aace0d1
 Size (haddock-library-1.10.0.tar.gz) = 32427 bytes
+SHA1 (patch-haddock-library.cabal) = aed3a12a2a35fe674e77502b0af4cdb40d7964d5
diff -r 21d7d78f40fe -r fee13a1b8d6d textproc/hs-haddock-library/patches/patch-haddock-library.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-haddock-library/patches/patch-haddock-library.cabal   Fri Feb 11 11:29:44 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-haddock-library.cabal,v 1.1 2022/02/11 11:29:44 pho Exp $
+
+Fix build with GHC 9.2
+
+--- haddock-library.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ haddock-library.cabal
+@@ -38,8 +38,8 @@ common lib-defaults
+   default-language: Haskell2010
+ 
+   build-depends:
+-    , base         >= 4.5     && < 4.16
+-    , bytestring   ^>= 0.9.2.1 || ^>= 0.10.0.0
++    , base         >= 4.5     && < 5
++    , bytestring
+     , containers   ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1
+     , transformers ^>= 0.3.0.0 || ^>= 0.4.1.0 || ^>= 0.5.0.0
+     , text         ^>= 1.2.3.0



Home | Main Index | Thread Index | Old Index