pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-vector Fix build with GHC 8.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6694e75fbef6
branches:  trunk
changeset: 421062:6694e75fbef6
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Jan 11 08:50:16 2020 +0000

description:
Fix build with GHC 8.8

diffstat:

 devel/hs-vector/Makefile                   |   4 +---
 devel/hs-vector/buildlink3.mk              |   8 +++-----
 devel/hs-vector/distinfo                   |   4 ++--
 devel/hs-vector/patches/patch-vector.cabal |  20 ++++++++++----------
 4 files changed, 16 insertions(+), 20 deletions(-)

diffs (82 lines):

diff -r f3fe9a0d2962 -r 6694e75fbef6 devel/hs-vector/Makefile
--- a/devel/hs-vector/Makefile  Sat Jan 11 08:37:09 2020 +0000
+++ b/devel/hs-vector/Makefile  Sat Jan 11 08:50:16 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/01/01 02:43:35 pho Exp $
+# $NetBSD: Makefile,v 1.8 2020/01/11 08:50:16 pho Exp $
 
 DISTNAME=      vector-0.12.0.3
 CATEGORIES=    devel
@@ -9,6 +9,4 @@
 
 .include "../../mk/haskell.mk"
 .include "../../devel/hs-primitive/buildlink3.mk"
-.include "../../devel/hs-fail/buildlink3.mk"
-.include "../../math/hs-semigroups/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f3fe9a0d2962 -r 6694e75fbef6 devel/hs-vector/buildlink3.mk
--- a/devel/hs-vector/buildlink3.mk     Sat Jan 11 08:37:09 2020 +0000
+++ b/devel/hs-vector/buildlink3.mk     Sat Jan 11 08:50:16 2020 +0000
@@ -1,17 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.9 2020/01/01 02:43:35 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/01/11 08:50:16 pho Exp $
 
 BUILDLINK_TREE+=       hs-vector
 
 .if !defined(HS_VECTOR_BUILDLINK3_MK)
 HS_VECTOR_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-vector+=      hs-vector>=0.11.0
-BUILDLINK_ABI_DEPENDS.hs-vector+=      hs-vector>=0.11.0.0
+BUILDLINK_API_DEPENDS.hs-vector+=      hs-vector>=0.12.0
+BUILDLINK_ABI_DEPENDS.hs-vector+=      hs-vector>=0.12.0.3
 BUILDLINK_PKGSRCDIR.hs-vector?=                ../../devel/hs-vector
 
 .include "../../devel/hs-primitive/buildlink3.mk"
-.include "../../devel/hs-fail/buildlink3.mk"
-.include "../../math/hs-semigroups/buildlink3.mk"
 .endif # HS_VECTOR_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-vector
diff -r f3fe9a0d2962 -r 6694e75fbef6 devel/hs-vector/distinfo
--- a/devel/hs-vector/distinfo  Sat Jan 11 08:37:09 2020 +0000
+++ b/devel/hs-vector/distinfo  Sat Jan 11 08:50:16 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2020/01/01 02:43:35 pho Exp $
+$NetBSD: distinfo,v 1.8 2020/01/11 08:50:16 pho Exp $
 
 SHA1 (vector-0.12.0.3.tar.gz) = c57440b2887ed62f7c83526f99e3ce8201e433c7
 RMD160 (vector-0.12.0.3.tar.gz) = c030f62c6116e7701ec727b18a9c630a77f70281
 SHA512 (vector-0.12.0.3.tar.gz) = 176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853
 Size (vector-0.12.0.3.tar.gz) = 124899 bytes
-SHA1 (patch-vector.cabal) = 878fc2b59215ca4bcc3e418534ef7b29f24ce743
+SHA1 (patch-vector.cabal) = d15623c2147bab0d9d4e859a1539519dd6bf69e3
diff -r f3fe9a0d2962 -r 6694e75fbef6 devel/hs-vector/patches/patch-vector.cabal
--- a/devel/hs-vector/patches/patch-vector.cabal        Sat Jan 11 08:37:09 2020 +0000
+++ b/devel/hs-vector/patches/patch-vector.cabal        Sat Jan 11 08:50:16 2020 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-vector.cabal,v 1.1 2020/01/01 02:43:36 pho Exp $
+$NetBSD: patch-vector.cabal,v 1.2 2020/01/11 08:50:16 pho Exp $
 
-Relax the upper bound on semigroups
+Fix build with GHC 8.8
 
 --- vector.cabal.orig  2001-09-09 01:46:40.000000000 +0000
 +++ vector.cabal
-@@ -150,7 +150,7 @@ Library
+@@ -144,7 +144,7 @@ Library
+   Install-Includes:
+         vector.h
+ 
+-  Build-Depends: base >= 4.5 && < 4.13
++  Build-Depends: base >= 4.5 && < 4.14
+                , primitive >= 0.5.0.1 && < 0.8
+                , ghc-prim >= 0.2 && < 0.6
                 , deepseq >= 1.1 && < 1.5
-   if !impl(ghc > 8.0)
-     Build-Depends: fail == 4.9.*
--                 , semigroups >= 0.18 && < 0.19
-+                 , semigroups >= 0.18 && < 0.20
- 
-   Ghc-Options: -O2 -Wall
- 



Home | Main Index | Thread Index | Old Index