pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Fix build with GHC 9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9a0d63c2716
branches:  trunk
changeset: 450922:f9a0d63c2716
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Apr 23 09:26:55 2021 +0000

description:
Fix build with GHC 9

diffstat:

 devel/hs-basement/Makefile                                    |    4 +-
 devel/hs-basement/PLIST                                       |  730 +++++-----
 devel/hs-basement/distinfo                                    |    6 +-
 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 +
 devel/hs-memory/PLIST                                         |  232 +-
 devel/hs-memory/distinfo                                      |    5 +-
 devel/hs-memory/patches/patch-Data_ByteArray_Bytes.hs         |   14 +
 devel/hs-memory/patches/patch-Data_ByteArray_ScrubbedBytes.hs |   14 +
 devel/hs-memory/patches/patch-Data_Memory_MemMap_Posix.hsc    |   24 +
 12 files changed, 600 insertions(+), 486 deletions(-)

diffs (truncated from 1155 to 300 lines):

diff -r 7cc6aebc3a8e -r f9a0d63c2716 devel/hs-basement/Makefile
--- a/devel/hs-basement/Makefile        Fri Apr 23 09:16:26 2021 +0000
+++ b/devel/hs-basement/Makefile        Fri Apr 23 09:26:55 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/02/28 13:59:45 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/04/23 09:26:55 pho Exp $
 
 DISTNAME=      basement-0.0.11
 CATEGORIES=    devel
@@ -7,7 +7,5 @@
 COMMENT=       Foundation scrap box of array and string
 LICENSE=       modified-bsd
 
-BUILDLINK_API_DEPENDS.ghc+=    ghc<=8.10
-BUILDLINK_API_DEPENDS.ghc+=    ghc>=8.8
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7cc6aebc3a8e -r f9a0d63c2716 devel/hs-basement/PLIST
--- a/devel/hs-basement/PLIST   Fri Apr 23 09:16:26 2021 +0000
+++ b/devel/hs-basement/PLIST   Fri Apr 23 09:26:55 2021 +0000
@@ -1,366 +1,366 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:00 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Basement/Alg/Class.dyn_hi
-${HS_IMPL}/Basement/Alg/Class.hi
-${HS_IMPL}/Basement/Alg/Class.p_hi
-${HS_IMPL}/Basement/Alg/Mutable.dyn_hi
-${HS_IMPL}/Basement/Alg/Mutable.hi
-${HS_IMPL}/Basement/Alg/Mutable.p_hi
-${HS_IMPL}/Basement/Alg/PrimArray.dyn_hi
-${HS_IMPL}/Basement/Alg/PrimArray.hi
-${HS_IMPL}/Basement/Alg/PrimArray.p_hi
-${HS_IMPL}/Basement/Alg/String.dyn_hi
-${HS_IMPL}/Basement/Alg/String.hi
-${HS_IMPL}/Basement/Alg/String.p_hi
-${HS_IMPL}/Basement/Alg/UTF8.dyn_hi
-${HS_IMPL}/Basement/Alg/UTF8.hi
-${HS_IMPL}/Basement/Alg/UTF8.p_hi
-${HS_IMPL}/Basement/Alg/XorShift.dyn_hi
-${HS_IMPL}/Basement/Alg/XorShift.hi
-${HS_IMPL}/Basement/Alg/XorShift.p_hi
-${HS_IMPL}/Basement/Base16.dyn_hi
-${HS_IMPL}/Basement/Base16.hi
-${HS_IMPL}/Basement/Base16.p_hi
-${HS_IMPL}/Basement/Bindings/Memory.dyn_hi
-${HS_IMPL}/Basement/Bindings/Memory.hi
-${HS_IMPL}/Basement/Bindings/Memory.p_hi
-${HS_IMPL}/Basement/Bits.dyn_hi
-${HS_IMPL}/Basement/Bits.hi
-${HS_IMPL}/Basement/Bits.p_hi
-${HS_IMPL}/Basement/Block.dyn_hi
-${HS_IMPL}/Basement/Block.hi
-${HS_IMPL}/Basement/Block.p_hi
-${HS_IMPL}/Basement/Block/Base.dyn_hi
-${HS_IMPL}/Basement/Block/Base.hi
-${HS_IMPL}/Basement/Block/Base.p_hi
-${HS_IMPL}/Basement/Block/Builder.dyn_hi
-${HS_IMPL}/Basement/Block/Builder.hi
-${HS_IMPL}/Basement/Block/Builder.p_hi
-${HS_IMPL}/Basement/Block/Mutable.dyn_hi
-${HS_IMPL}/Basement/Block/Mutable.hi
-${HS_IMPL}/Basement/Block/Mutable.p_hi
-${HS_IMPL}/Basement/BlockN.dyn_hi
-${HS_IMPL}/Basement/BlockN.hi
-${HS_IMPL}/Basement/BlockN.p_hi
-${HS_IMPL}/Basement/Bounded.dyn_hi
-${HS_IMPL}/Basement/Bounded.hi
-${HS_IMPL}/Basement/Bounded.p_hi
-${HS_IMPL}/Basement/BoxedArray.dyn_hi
-${HS_IMPL}/Basement/BoxedArray.hi
-${HS_IMPL}/Basement/BoxedArray.p_hi
-${HS_IMPL}/Basement/Cast.dyn_hi
-${HS_IMPL}/Basement/Cast.hi
-${HS_IMPL}/Basement/Cast.p_hi
-${HS_IMPL}/Basement/Compat/AMP.dyn_hi
-${HS_IMPL}/Basement/Compat/AMP.hi
-${HS_IMPL}/Basement/Compat/AMP.p_hi
-${HS_IMPL}/Basement/Compat/Base.dyn_hi
-${HS_IMPL}/Basement/Compat/Base.hi
-${HS_IMPL}/Basement/Compat/Base.p_hi
-${HS_IMPL}/Basement/Compat/Bifunctor.dyn_hi
-${HS_IMPL}/Basement/Compat/Bifunctor.hi
-${HS_IMPL}/Basement/Compat/Bifunctor.p_hi
-${HS_IMPL}/Basement/Compat/C/Types.dyn_hi
-${HS_IMPL}/Basement/Compat/C/Types.hi
-${HS_IMPL}/Basement/Compat/C/Types.p_hi
-${HS_IMPL}/Basement/Compat/CallStack.dyn_hi
-${HS_IMPL}/Basement/Compat/CallStack.hi
-${HS_IMPL}/Basement/Compat/CallStack.p_hi
-${HS_IMPL}/Basement/Compat/ExtList.dyn_hi
-${HS_IMPL}/Basement/Compat/ExtList.hi
-${HS_IMPL}/Basement/Compat/ExtList.p_hi
-${HS_IMPL}/Basement/Compat/Identity.dyn_hi
-${HS_IMPL}/Basement/Compat/Identity.hi
-${HS_IMPL}/Basement/Compat/Identity.p_hi
-${HS_IMPL}/Basement/Compat/IsList.dyn_hi
-${HS_IMPL}/Basement/Compat/IsList.hi
-${HS_IMPL}/Basement/Compat/IsList.p_hi
-${HS_IMPL}/Basement/Compat/MonadTrans.dyn_hi
-${HS_IMPL}/Basement/Compat/MonadTrans.hi
-${HS_IMPL}/Basement/Compat/MonadTrans.p_hi
-${HS_IMPL}/Basement/Compat/Natural.dyn_hi
-${HS_IMPL}/Basement/Compat/Natural.hi
-${HS_IMPL}/Basement/Compat/Natural.p_hi
-${HS_IMPL}/Basement/Compat/NumLiteral.dyn_hi
-${HS_IMPL}/Basement/Compat/NumLiteral.hi
-${HS_IMPL}/Basement/Compat/NumLiteral.p_hi
-${HS_IMPL}/Basement/Compat/PrimTypes.dyn_hi
-${HS_IMPL}/Basement/Compat/PrimTypes.hi
-${HS_IMPL}/Basement/Compat/PrimTypes.p_hi
-${HS_IMPL}/Basement/Compat/Primitive.dyn_hi
-${HS_IMPL}/Basement/Compat/Primitive.hi
-${HS_IMPL}/Basement/Compat/Primitive.p_hi
-${HS_IMPL}/Basement/Compat/Semigroup.dyn_hi
-${HS_IMPL}/Basement/Compat/Semigroup.hi
-${HS_IMPL}/Basement/Compat/Semigroup.p_hi
-${HS_IMPL}/Basement/Compat/Typeable.dyn_hi
-${HS_IMPL}/Basement/Compat/Typeable.hi
-${HS_IMPL}/Basement/Compat/Typeable.p_hi
-${HS_IMPL}/Basement/Endianness.dyn_hi
-${HS_IMPL}/Basement/Endianness.hi
-${HS_IMPL}/Basement/Endianness.p_hi
-${HS_IMPL}/Basement/Environment.dyn_hi
-${HS_IMPL}/Basement/Environment.hi
-${HS_IMPL}/Basement/Environment.p_hi
-${HS_IMPL}/Basement/Error.dyn_hi
-${HS_IMPL}/Basement/Error.hi
-${HS_IMPL}/Basement/Error.p_hi
-${HS_IMPL}/Basement/Exception.dyn_hi
-${HS_IMPL}/Basement/Exception.hi
-${HS_IMPL}/Basement/Exception.p_hi
-${HS_IMPL}/Basement/FinalPtr.dyn_hi
-${HS_IMPL}/Basement/FinalPtr.hi
-${HS_IMPL}/Basement/FinalPtr.p_hi
-${HS_IMPL}/Basement/Floating.dyn_hi
-${HS_IMPL}/Basement/Floating.hi
-${HS_IMPL}/Basement/Floating.p_hi
-${HS_IMPL}/Basement/From.dyn_hi
-${HS_IMPL}/Basement/From.hi
-${HS_IMPL}/Basement/From.p_hi
-${HS_IMPL}/Basement/Imports.dyn_hi
-${HS_IMPL}/Basement/Imports.hi
-${HS_IMPL}/Basement/Imports.p_hi
-${HS_IMPL}/Basement/IntegralConv.dyn_hi
-${HS_IMPL}/Basement/IntegralConv.hi
-${HS_IMPL}/Basement/IntegralConv.p_hi
-${HS_IMPL}/Basement/Monad.dyn_hi
-${HS_IMPL}/Basement/Monad.hi
-${HS_IMPL}/Basement/Monad.p_hi
-${HS_IMPL}/Basement/MutableBuilder.dyn_hi
-${HS_IMPL}/Basement/MutableBuilder.hi
-${HS_IMPL}/Basement/MutableBuilder.p_hi
-${HS_IMPL}/Basement/Nat.dyn_hi
-${HS_IMPL}/Basement/Nat.hi
-${HS_IMPL}/Basement/Nat.p_hi
-${HS_IMPL}/Basement/NonEmpty.dyn_hi
-${HS_IMPL}/Basement/NonEmpty.hi
-${HS_IMPL}/Basement/NonEmpty.p_hi
-${HS_IMPL}/Basement/NormalForm.dyn_hi
-${HS_IMPL}/Basement/NormalForm.hi
-${HS_IMPL}/Basement/NormalForm.p_hi
-${HS_IMPL}/Basement/Numerical/Additive.dyn_hi
-${HS_IMPL}/Basement/Numerical/Additive.hi
-${HS_IMPL}/Basement/Numerical/Additive.p_hi
-${HS_IMPL}/Basement/Numerical/Conversion.dyn_hi
-${HS_IMPL}/Basement/Numerical/Conversion.hi
-${HS_IMPL}/Basement/Numerical/Conversion.p_hi
-${HS_IMPL}/Basement/Numerical/Multiplicative.dyn_hi
-${HS_IMPL}/Basement/Numerical/Multiplicative.hi
-${HS_IMPL}/Basement/Numerical/Multiplicative.p_hi
-${HS_IMPL}/Basement/Numerical/Number.dyn_hi
-${HS_IMPL}/Basement/Numerical/Number.hi
-${HS_IMPL}/Basement/Numerical/Number.p_hi
-${HS_IMPL}/Basement/Numerical/Subtractive.dyn_hi
-${HS_IMPL}/Basement/Numerical/Subtractive.hi
-${HS_IMPL}/Basement/Numerical/Subtractive.p_hi
-${HS_IMPL}/Basement/PrimType.dyn_hi
-${HS_IMPL}/Basement/PrimType.hi
-${HS_IMPL}/Basement/PrimType.p_hi
-${HS_IMPL}/Basement/Runtime.dyn_hi
-${HS_IMPL}/Basement/Runtime.hi
-${HS_IMPL}/Basement/Runtime.p_hi
-${HS_IMPL}/Basement/Show.dyn_hi
-${HS_IMPL}/Basement/Show.hi
-${HS_IMPL}/Basement/Show.p_hi
-${HS_IMPL}/Basement/Sized/Block.dyn_hi
-${HS_IMPL}/Basement/Sized/Block.hi
-${HS_IMPL}/Basement/Sized/Block.p_hi
-${HS_IMPL}/Basement/Sized/List.dyn_hi
-${HS_IMPL}/Basement/Sized/List.hi
-${HS_IMPL}/Basement/Sized/List.p_hi
-${HS_IMPL}/Basement/Sized/UVect.dyn_hi
-${HS_IMPL}/Basement/Sized/UVect.hi
-${HS_IMPL}/Basement/Sized/UVect.p_hi
-${HS_IMPL}/Basement/Sized/Vect.dyn_hi
-${HS_IMPL}/Basement/Sized/Vect.hi
-${HS_IMPL}/Basement/Sized/Vect.p_hi
-${HS_IMPL}/Basement/String.dyn_hi
-${HS_IMPL}/Basement/String.hi
-${HS_IMPL}/Basement/String.p_hi
-${HS_IMPL}/Basement/String/Builder.dyn_hi
-${HS_IMPL}/Basement/String/Builder.hi
-${HS_IMPL}/Basement/String/Builder.p_hi
-${HS_IMPL}/Basement/String/CaseMapping.dyn_hi
-${HS_IMPL}/Basement/String/CaseMapping.hi
-${HS_IMPL}/Basement/String/CaseMapping.p_hi
-${HS_IMPL}/Basement/String/Encoding/ASCII7.dyn_hi
-${HS_IMPL}/Basement/String/Encoding/ASCII7.hi
-${HS_IMPL}/Basement/String/Encoding/ASCII7.p_hi
-${HS_IMPL}/Basement/String/Encoding/Encoding.dyn_hi
-${HS_IMPL}/Basement/String/Encoding/Encoding.hi
-${HS_IMPL}/Basement/String/Encoding/Encoding.p_hi
-${HS_IMPL}/Basement/String/Encoding/ISO_8859_1.dyn_hi
-${HS_IMPL}/Basement/String/Encoding/ISO_8859_1.hi
-${HS_IMPL}/Basement/String/Encoding/ISO_8859_1.p_hi
-${HS_IMPL}/Basement/String/Encoding/UTF16.dyn_hi
-${HS_IMPL}/Basement/String/Encoding/UTF16.hi
-${HS_IMPL}/Basement/String/Encoding/UTF16.p_hi
-${HS_IMPL}/Basement/String/Encoding/UTF32.dyn_hi
-${HS_IMPL}/Basement/String/Encoding/UTF32.hi
-${HS_IMPL}/Basement/String/Encoding/UTF32.p_hi
-${HS_IMPL}/Basement/Terminal.dyn_hi
-${HS_IMPL}/Basement/Terminal.hi
-${HS_IMPL}/Basement/Terminal.p_hi
-${HS_IMPL}/Basement/Terminal/ANSI.dyn_hi
-${HS_IMPL}/Basement/Terminal/ANSI.hi
-${HS_IMPL}/Basement/Terminal/ANSI.p_hi
-${HS_IMPL}/Basement/Terminal/Size.dyn_hi
-${HS_IMPL}/Basement/Terminal/Size.hi
-${HS_IMPL}/Basement/Terminal/Size.p_hi
-${HS_IMPL}/Basement/These.dyn_hi
-${HS_IMPL}/Basement/These.hi
-${HS_IMPL}/Basement/These.p_hi
-${HS_IMPL}/Basement/Types/AsciiString.dyn_hi
-${HS_IMPL}/Basement/Types/AsciiString.hi
-${HS_IMPL}/Basement/Types/AsciiString.p_hi
-${HS_IMPL}/Basement/Types/Char7.dyn_hi
-${HS_IMPL}/Basement/Types/Char7.hi
-${HS_IMPL}/Basement/Types/Char7.p_hi
-${HS_IMPL}/Basement/Types/CharUTF8.dyn_hi
-${HS_IMPL}/Basement/Types/CharUTF8.hi
-${HS_IMPL}/Basement/Types/CharUTF8.p_hi
-${HS_IMPL}/Basement/Types/OffsetSize.dyn_hi
-${HS_IMPL}/Basement/Types/OffsetSize.hi
-${HS_IMPL}/Basement/Types/OffsetSize.p_hi
-${HS_IMPL}/Basement/Types/Ptr.dyn_hi
-${HS_IMPL}/Basement/Types/Ptr.hi
-${HS_IMPL}/Basement/Types/Ptr.p_hi
-${HS_IMPL}/Basement/Types/Word128.dyn_hi
-${HS_IMPL}/Basement/Types/Word128.hi
-${HS_IMPL}/Basement/Types/Word128.p_hi
-${HS_IMPL}/Basement/Types/Word256.dyn_hi
-${HS_IMPL}/Basement/Types/Word256.hi
-${HS_IMPL}/Basement/Types/Word256.p_hi
-${HS_IMPL}/Basement/UArray.dyn_hi
-${HS_IMPL}/Basement/UArray.hi
-${HS_IMPL}/Basement/UArray.p_hi
-${HS_IMPL}/Basement/UArray/Base.dyn_hi
-${HS_IMPL}/Basement/UArray/Base.hi
-${HS_IMPL}/Basement/UArray/Base.p_hi
-${HS_IMPL}/Basement/UArray/Mutable.dyn_hi
-${HS_IMPL}/Basement/UArray/Mutable.hi
-${HS_IMPL}/Basement/UArray/Mutable.p_hi
-${HS_IMPL}/Basement/UTF8/Base.dyn_hi
-${HS_IMPL}/Basement/UTF8/Base.hi
-${HS_IMPL}/Basement/UTF8/Base.p_hi
-${HS_IMPL}/Basement/UTF8/Helper.dyn_hi
-${HS_IMPL}/Basement/UTF8/Helper.hi
-${HS_IMPL}/Basement/UTF8/Helper.p_hi
-${HS_IMPL}/Basement/UTF8/Table.dyn_hi
-${HS_IMPL}/Basement/UTF8/Table.hi
-${HS_IMPL}/Basement/UTF8/Table.p_hi
-${HS_IMPL}/Basement/UTF8/Types.dyn_hi
-${HS_IMPL}/Basement/UTF8/Types.hi
-${HS_IMPL}/Basement/UTF8/Types.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.2 2021/04/23 09:26:55 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
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Class.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Class.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Mutable.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Mutable.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/Mutable.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/PrimArray.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/PrimArray.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/PrimArray.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/String.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/String.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/String.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/UTF8.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/UTF8.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/UTF8.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/XorShift.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/XorShift.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Alg/XorShift.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Basement/Base16.dyn_hi



Home | Main Index | Thread Index | Old Index