pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-basement Update to basement-0.0.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bbcc9a7d403
branches:  trunk
changeset: 373343:6bbcc9a7d403
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 09:28:47 2022 +0000

description:
Update to basement-0.0.12

No changelogs are provided by the upstream.

diffstat:

 devel/hs-basement/Makefile                             |  13 +++++++++----
 devel/hs-basement/PLIST                                |   5 ++++-
 devel/hs-basement/buildlink3.mk                        |   6 +++---
 devel/hs-basement/distinfo                             |  15 +++++++--------
 devel/hs-basement/patches/patch-Basement_Block_Base.hs |  14 --------------
 devel/hs-basement/patches/patch-Basement_BoxedArray.hs |  14 --------------
 devel/hs-basement/patches/patch-Basement_FinalPtr.hs   |  15 ---------------
 devel/hs-basement/patches/patch-Basement_Monad.hs      |  14 --------------
 8 files changed, 23 insertions(+), 73 deletions(-)

diffs (152 lines):

diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/Makefile
--- a/devel/hs-basement/Makefile        Fri Feb 11 09:28:16 2022 +0000
+++ b/devel/hs-basement/Makefile        Fri Feb 11 09:28:47 2022 +0000
@@ -1,8 +1,13 @@
-# $NetBSD: Makefile,v 1.6 2022/01/18 02:48:04 pho Exp $
+# $NetBSD: Makefile,v 1.7 2022/02/11 09:28:47 pho Exp $
+
+DISTNAME=      basement-0.0.12
+CATEGORIES=    devel
 
-DISTNAME=      basement-0.0.11
-PKGREVISION=   2
-CATEGORIES=    devel
+# Compatibility with GHC 9.2:
+# https://github.com/haskell-foundation/foundation/issues/554
+PATCH_SITES=           https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/
+PATCHFILES=            basement-0.0.12.patch
+PATCH_DIST_STRIP=      -p1
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Foundation scrap box of array and string
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/PLIST
--- a/devel/hs-basement/PLIST   Fri Feb 11 09:28:16 2022 +0000
+++ b/devel/hs-basement/PLIST   Fri Feb 11 09:28:47 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/23 09:26:55 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/11 09:28:47 pho Exp $
 lib/basement-${PKGVERSION}/${HS_VERSION}/package-description
 lib/basement-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Class.dyn_hi
@@ -118,6 +118,9 @@
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/From.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/From.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/From.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/HeadHackageUtils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/HeadHackageUtils.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/HeadHackageUtils.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Imports.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Imports.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Imports.p_hi
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/buildlink3.mk
--- a/devel/hs-basement/buildlink3.mk   Fri Feb 11 09:28:16 2022 +0000
+++ b/devel/hs-basement/buildlink3.mk   Fri Feb 11 09:28:47 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.3 2022/01/18 02:48:04 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2022/02/11 09:28:47 pho Exp $
 
 BUILDLINK_TREE+=       hs-basement
 
 .if !defined(HS_BASEMENT_BUILDLINK3_MK)
 HS_BASEMENT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-basement+=    hs-basement>=0.0.11
-BUILDLINK_ABI_DEPENDS.hs-basement+=    hs-basement>=0.0.11nb2
+BUILDLINK_API_DEPENDS.hs-basement+=    hs-basement>=0.0.12
+BUILDLINK_ABI_DEPENDS.hs-basement+=    hs-basement>=0.0.12
 BUILDLINK_PKGSRCDIR.hs-basement?=      ../../devel/hs-basement
 .endif # HS_BASEMENT_BUILDLINK3_MK
 
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/distinfo
--- a/devel/hs-basement/distinfo        Fri Feb 11 09:28:16 2022 +0000
+++ b/devel/hs-basement/distinfo        Fri Feb 11 09:28:47 2022 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:14:53 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/11 09:28:47 pho Exp $
 
-BLAKE2s (basement-0.0.11.tar.gz) = 00260efec2bf97641e5b496c0f9c3cdb280f638430697bb05aaf8f545adf2a64
-SHA512 (basement-0.0.11.tar.gz) = 2396e692fcaa080418eb90c38148dbb2465490ffaa5e35d141573d32729794dffb444bdddd55082878520a22629cfead5fdc1ac98f1d369600cc3165b64730d5
-Size (basement-0.0.11.tar.gz) = 134032 bytes
-SHA1 (patch-Basement_Block_Base.hs) = 579b9cc456cbc60f82f30190ae23d5192ca4dce7
-SHA1 (patch-Basement_BoxedArray.hs) = 29f7348fa84c73b2ae564b011844b0d79a8bfdd7
-SHA1 (patch-Basement_FinalPtr.hs) = d34b03e05117fc64f6cf556023d52f9668b3de71
-SHA1 (patch-Basement_Monad.hs) = 4cf02d67402fdf8481ea2eac7e6a8f6715bb465c
+BLAKE2s (basement-0.0.12.patch) = 9898e131f3c86404715b65b5c275382bc89039e038b100655d92b995ac532a35
+SHA512 (basement-0.0.12.patch) = da561206dadfde5e02e9b19a901494b87a74ad50d11c968dae81163ae80c1d3e989677adcb386c79952e547db30c41ca2d367a3d546d3dd87f7d129baab7dc7b
+Size (basement-0.0.12.patch) = 73019 bytes
+BLAKE2s (basement-0.0.12.tar.gz) = 1867843627cf459dc95e829310d36acb68c4c0a6d815c66bd024dea171c6aebf
+SHA512 (basement-0.0.12.tar.gz) = 4515fbecfb8280cfd669313d236a5e3b4ef45ba3fd3da8626073fa3a44a889370c48c582ea633eac5df4a5e716c495cf827deb9239274fbdb63a14d19f9682fb
+Size (basement-0.0.12.tar.gz) = 134142 bytes
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/patches/patch-Basement_Block_Base.hs
--- a/devel/hs-basement/patches/patch-Basement_Block_Base.hs    Fri Feb 11 09:28:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Basement_Block_Base.hs,v 1.1 2021/04/23 09:26:56 pho Exp $
-
-Fix build with GHC 9.
-
---- Basement/Block/Base.hs.orig        2021-04-23 09:22:04.400736590 +0000
-+++ Basement/Block/Base.hs
-@@ -36,6 +36,7 @@ module Basement.Block.Base
-     , unsafeRecast
-     ) where
- 
-+import           GHC.Exts (unsafeCoerce#)
- import           GHC.Prim
- import           GHC.Types
- import           GHC.ST
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/patches/patch-Basement_BoxedArray.hs
--- a/devel/hs-basement/patches/patch-Basement_BoxedArray.hs    Fri Feb 11 09:28:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Basement_BoxedArray.hs,v 1.1 2021/04/23 09:26:56 pho Exp $
-
-Fix build with GHC 9.
-
---- Basement/BoxedArray.hs.orig        2021-04-23 09:22:37.097665600 +0000
-+++ Basement/BoxedArray.hs
-@@ -74,6 +74,7 @@ module Basement.BoxedArray
-     , builderBuild_
-     ) where
- 
-+import           GHC.Exts (unsafeCoerce#)
- import           GHC.Prim
- import           GHC.Types
- import           GHC.ST
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/patches/patch-Basement_FinalPtr.hs
--- a/devel/hs-basement/patches/patch-Basement_FinalPtr.hs      Fri Feb 11 09:28:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-Basement_FinalPtr.hs,v 1.1 2021/04/23 09:26:56 pho Exp $
-
-Fix build with GHC 9.
-
---- Basement/FinalPtr.hs.orig  2021-04-23 09:20:47.062262725 +0000
-+++ Basement/FinalPtr.hs
-@@ -25,7 +25,7 @@ module Basement.FinalPtr
-     ) where
- 
- import GHC.Ptr
--import GHC.ForeignPtr
-+import GHC.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr, touchForeignPtr)
- import GHC.IO
- import Basement.Monad
- import Basement.Compat.Primitive
diff -r 02a3db6a54a7 -r 6bbcc9a7d403 devel/hs-basement/patches/patch-Basement_Monad.hs
--- a/devel/hs-basement/patches/patch-Basement_Monad.hs Fri Feb 11 09:28:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Basement_Monad.hs,v 1.1 2021/04/23 09:26:56 pho Exp $
-
-Fix build with GHC 9.
-
---- Basement/Monad.hs.orig     2021-04-23 09:18:46.689442468 +0000
-+++ Basement/Monad.hs
-@@ -29,6 +29,7 @@ module Basement.Monad
-     ) where
- 
- import qualified Prelude
-+import           GHC.Exts (unsafeCoerce#)
- import           GHC.ST
- import           GHC.STRef
- import           GHC.IORef



Home | Main Index | Thread Index | Old Index