Fri Apr 23 15:40:31 2021 UTC ()
Fix build with GHC 9


(pho)
diff -r1.1 -r1.2 pkgsrc/devel/pointfree/PLIST
diff -r1.1 -r1.2 pkgsrc/devel/pointfree/distinfo
diff -r0 -r1.1 pkgsrc/devel/pointfree/patches/patch-pointfree.cabal

cvs diff -r1.1 -r1.2 pkgsrc/devel/pointfree/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/pointfree/PLIST 2021/03/14 09:15:43 1.1
+++ pkgsrc/devel/pointfree/PLIST 2021/04/23 15:40:30 1.2
@@ -1,3 +1,2 @@ @@ -1,3 +1,2 @@
1@comment $NetBSD: PLIST,v 1.1 2021/03/14 09:15:43 pho Exp $ 1@comment $NetBSD: PLIST,v 1.2 2021/04/23 15:40:30 pho Exp $
2bin/pointfree 2bin/pointfree
3@pkgdir lib/${PKGNAME}/ghc-8.8.4 

cvs diff -r1.1 -r1.2 pkgsrc/devel/pointfree/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/pointfree/distinfo 2021/03/14 09:15:43 1.1
+++ pkgsrc/devel/pointfree/distinfo 2021/04/23 15:40:30 1.2
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.1 2021/03/14 09:15:43 pho Exp $ 1$NetBSD: distinfo,v 1.2 2021/04/23 15:40:30 pho Exp $
2 2
3SHA1 (pointfree-1.1.1.7.tar.gz) = fe5bfbb5959d3bff723b9e10090b9606ef62ff06 3SHA1 (pointfree-1.1.1.7.tar.gz) = fe5bfbb5959d3bff723b9e10090b9606ef62ff06
4RMD160 (pointfree-1.1.1.7.tar.gz) = 6f7e5db28fd3bf2d06ff0f55c141e90ef8193b99 4RMD160 (pointfree-1.1.1.7.tar.gz) = 6f7e5db28fd3bf2d06ff0f55c141e90ef8193b99
5SHA512 (pointfree-1.1.1.7.tar.gz) = e03d9643b659d6a70677ddecb2d9ef26f6f40e94b126e56cd2125638b2c78d2c22f70bb1373a3d6aa97c87e7aef17ae8cd766da62e37f312ecbce9fdb527dd40 5SHA512 (pointfree-1.1.1.7.tar.gz) = e03d9643b659d6a70677ddecb2d9ef26f6f40e94b126e56cd2125638b2c78d2c22f70bb1373a3d6aa97c87e7aef17ae8cd766da62e37f312ecbce9fdb527dd40
6Size (pointfree-1.1.1.7.tar.gz) = 20463 bytes 6Size (pointfree-1.1.1.7.tar.gz) = 20463 bytes
 7SHA1 (patch-pointfree.cabal) = 8be9fbe13cff031351294a56b7ed3370845f991b

File Added: pkgsrc/devel/pointfree/patches/Attic/patch-pointfree.cabal
$NetBSD: patch-pointfree.cabal,v 1.1 2021/04/23 15:40:31 pho Exp $

Fix build with GHC 9.

--- pointfree.cabal.orig	2021-04-23 15:37:47.335125491 +0000
+++ pointfree.cabal
@@ -27,7 +27,7 @@ Library+  buildable: False
   Exposed-modules: Pointfree
   Default-language: Haskell2010
 
-  Build-depends: base >= 4.5 && < 4.14,
+  Build-depends: base >= 4.5 && < 5,
                  array >= 0.3 && < 0.6,
                  containers >= 0.4 && < 0.7,
                  haskell-src-exts >= 1.20 && < 1.24,
@@ -44,7 +44,7 @@ Executable pointfree
   Main-is:       Main.hs
   Default-language: Haskell2010
   GHC-options:   -W
-  Build-depends: base >= 4.5 && < 4.14,
+  Build-depends: base >= 4.5 && < 5,
                  array >= 0.3 && < 0.6,
                  containers >= 0.4 && < 0.7,
                  haskell-src-exts >= 1.20 && < 1.24,
@@ -68,7 +68,7 @@ Test-suite tests
                  Plugin.Pl.Transform
 
   Build-depends:
-    base >= 4.5 && < 4.14,
+    base >= 4.5 && < 5,
     array >= 0.3 && < 0.6,
     containers >= 0.4 && < 0.7,
     haskell-src-exts >= 1.20 && < 1.24,