pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-memory



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Apr 23 09:35:57 UTC 2021

Modified Files:
        pkgsrc/devel/hs-memory: PLIST distinfo
Added Files:
        pkgsrc/devel/hs-memory/patches: patch-Data_ByteArray_Bytes.hs
            patch-Data_ByteArray_ScrubbedBytes.hs
            patch-Data_Memory_MemMap_Posix.hsc

Log Message:
Fix build with GHC 9


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-memory/PLIST \
    pkgsrc/devel/hs-memory/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_Bytes.hs \
    pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_ScrubbedBytes.hs \
    pkgsrc/devel/hs-memory/patches/patch-Data_Memory_MemMap_Posix.hsc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hs-memory/PLIST
diff -u pkgsrc/devel/hs-memory/PLIST:1.1 pkgsrc/devel/hs-memory/PLIST:1.2
--- pkgsrc/devel/hs-memory/PLIST:1.1    Mon May 11 17:52:04 2020
+++ pkgsrc/devel/hs-memory/PLIST        Fri Apr 23 09:35:56 2021
@@ -1,117 +1,117 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:04 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
+@comment $NetBSD: PLIST,v 1.2 2021/04/23 09:35:56 pho Exp $
+lib/memory-${PKGVERSION}/${HS_VERSION}/package-description
+lib/memory-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_IMPL}/Data/ByteArray.dyn_hi
-${HS_IMPL}/Data/ByteArray.hi
-${HS_IMPL}/Data/ByteArray.p_hi
-${HS_IMPL}/Data/ByteArray/Bytes.dyn_hi
-${HS_IMPL}/Data/ByteArray/Bytes.hi
-${HS_IMPL}/Data/ByteArray/Bytes.p_hi
-${HS_IMPL}/Data/ByteArray/Encoding.dyn_hi
-${HS_IMPL}/Data/ByteArray/Encoding.hi
-${HS_IMPL}/Data/ByteArray/Encoding.p_hi
-${HS_IMPL}/Data/ByteArray/Hash.dyn_hi
-${HS_IMPL}/Data/ByteArray/Hash.hi
-${HS_IMPL}/Data/ByteArray/Hash.p_hi
-${HS_IMPL}/Data/ByteArray/Mapping.dyn_hi
-${HS_IMPL}/Data/ByteArray/Mapping.hi
-${HS_IMPL}/Data/ByteArray/Mapping.p_hi
-${HS_IMPL}/Data/ByteArray/MemView.dyn_hi
-${HS_IMPL}/Data/ByteArray/MemView.hi
-${HS_IMPL}/Data/ByteArray/MemView.p_hi
-${HS_IMPL}/Data/ByteArray/Methods.dyn_hi
-${HS_IMPL}/Data/ByteArray/Methods.hi
-${HS_IMPL}/Data/ByteArray/Methods.p_hi
-${HS_IMPL}/Data/ByteArray/Pack.dyn_hi
-${HS_IMPL}/Data/ByteArray/Pack.hi
-${HS_IMPL}/Data/ByteArray/Pack.p_hi
-${HS_IMPL}/Data/ByteArray/Pack/Internal.dyn_hi
-${HS_IMPL}/Data/ByteArray/Pack/Internal.hi
-${HS_IMPL}/Data/ByteArray/Pack/Internal.p_hi
-${HS_IMPL}/Data/ByteArray/Parse.dyn_hi
-${HS_IMPL}/Data/ByteArray/Parse.hi
-${HS_IMPL}/Data/ByteArray/Parse.p_hi
-${HS_IMPL}/Data/ByteArray/ScrubbedBytes.dyn_hi
-${HS_IMPL}/Data/ByteArray/ScrubbedBytes.hi
-${HS_IMPL}/Data/ByteArray/ScrubbedBytes.p_hi
-${HS_IMPL}/Data/ByteArray/Sized.dyn_hi
-${HS_IMPL}/Data/ByteArray/Sized.hi
-${HS_IMPL}/Data/ByteArray/Sized.p_hi
-${HS_IMPL}/Data/ByteArray/Types.dyn_hi
-${HS_IMPL}/Data/ByteArray/Types.hi
-${HS_IMPL}/Data/ByteArray/Types.p_hi
-${HS_IMPL}/Data/ByteArray/View.dyn_hi
-${HS_IMPL}/Data/ByteArray/View.hi
-${HS_IMPL}/Data/ByteArray/View.p_hi
-${HS_IMPL}/Data/Memory/Encoding/Base16.dyn_hi
-${HS_IMPL}/Data/Memory/Encoding/Base16.hi
-${HS_IMPL}/Data/Memory/Encoding/Base16.p_hi
-${HS_IMPL}/Data/Memory/Encoding/Base32.dyn_hi
-${HS_IMPL}/Data/Memory/Encoding/Base32.hi
-${HS_IMPL}/Data/Memory/Encoding/Base32.p_hi
-${HS_IMPL}/Data/Memory/Encoding/Base64.dyn_hi
-${HS_IMPL}/Data/Memory/Encoding/Base64.hi
-${HS_IMPL}/Data/Memory/Encoding/Base64.p_hi
-${HS_IMPL}/Data/Memory/Endian.dyn_hi
-${HS_IMPL}/Data/Memory/Endian.hi
-${HS_IMPL}/Data/Memory/Endian.p_hi
-${HS_IMPL}/Data/Memory/ExtendedWords.dyn_hi
-${HS_IMPL}/Data/Memory/ExtendedWords.hi
-${HS_IMPL}/Data/Memory/ExtendedWords.p_hi
-${HS_IMPL}/Data/Memory/Hash/FNV.dyn_hi
-${HS_IMPL}/Data/Memory/Hash/FNV.hi
-${HS_IMPL}/Data/Memory/Hash/FNV.p_hi
-${HS_IMPL}/Data/Memory/Hash/SipHash.dyn_hi
-${HS_IMPL}/Data/Memory/Hash/SipHash.hi
-${HS_IMPL}/Data/Memory/Hash/SipHash.p_hi
-${HS_IMPL}/Data/Memory/Internal/Compat.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/Compat.hi
-${HS_IMPL}/Data/Memory/Internal/Compat.p_hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim.hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim.p_hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim64.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim64.hi
-${HS_IMPL}/Data/Memory/Internal/CompatPrim64.p_hi
-${HS_IMPL}/Data/Memory/Internal/DeepSeq.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/DeepSeq.hi
-${HS_IMPL}/Data/Memory/Internal/DeepSeq.p_hi
-${HS_IMPL}/Data/Memory/Internal/Imports.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/Imports.hi
-${HS_IMPL}/Data/Memory/Internal/Imports.p_hi
-${HS_IMPL}/Data/Memory/Internal/Scrubber.dyn_hi
-${HS_IMPL}/Data/Memory/Internal/Scrubber.hi
-${HS_IMPL}/Data/Memory/Internal/Scrubber.p_hi
-${HS_IMPL}/Data/Memory/MemMap/Posix.dyn_hi
-${HS_IMPL}/Data/Memory/MemMap/Posix.hi
-${HS_IMPL}/Data/Memory/MemMap/Posix.p_hi
-${HS_IMPL}/Data/Memory/PtrMethods.dyn_hi
-${HS_IMPL}/Data/Memory/PtrMethods.hi
-${HS_IMPL}/Data/Memory/PtrMethods.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/CHANGELOG.md
-${HS_DOCS}/html/Data-ByteArray-Encoding.html
-${HS_DOCS}/html/Data-ByteArray-Hash.html
-${HS_DOCS}/html/Data-ByteArray-Mapping.html
-${HS_DOCS}/html/Data-ByteArray-Pack.html
-${HS_DOCS}/html/Data-ByteArray-Parse.html
-${HS_DOCS}/html/Data-ByteArray-Sized.html
-${HS_DOCS}/html/Data-ByteArray.html
-${HS_DOCS}/html/Data-Memory-Encoding-Base16.html
-${HS_DOCS}/html/Data-Memory-Encoding-Base32.html
-${HS_DOCS}/html/Data-Memory-Encoding-Base64.html
-${HS_DOCS}/html/Data-Memory-Endian.html
-${HS_DOCS}/html/Data-Memory-ExtendedWords.html
-${HS_DOCS}/html/Data-Memory-PtrMethods.html
-${HS_DOCS}/html/README.md
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/memory.haddock
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Bytes.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Bytes.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Bytes.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Encoding.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Encoding.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Encoding.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Hash.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Hash.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Hash.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Mapping.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Mapping.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Mapping.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/MemView.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/MemView.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/MemView.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Methods.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Methods.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Methods.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Pack/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Parse.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Parse.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Parse.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/ScrubbedBytes.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/ScrubbedBytes.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/ScrubbedBytes.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Sized.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Sized.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Sized.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/View.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/View.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteArray/View.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base16.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base16.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base16.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base32.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base32.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base32.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base64.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base64.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Encoding/Base64.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Endian.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Endian.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Endian.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/ExtendedWords.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/ExtendedWords.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/ExtendedWords.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/FNV.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/FNV.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/FNV.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/SipHash.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/SipHash.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Hash/SipHash.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Compat.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Compat.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Compat.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim64.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim64.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/CompatPrim64.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/DeepSeq.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/DeepSeq.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/DeepSeq.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Imports.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Imports.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Imports.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Scrubber.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Scrubber.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/Internal/Scrubber.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/MemMap/Posix.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/MemMap/Posix.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/MemMap/Posix.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/PtrMethods.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/PtrMethods.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Memory/PtrMethods.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Encoding.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Hash.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Mapping.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Pack.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Parse.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray-Sized.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-ByteArray.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-Encoding-Base16.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-Encoding-Base32.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-Encoding-Base64.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-Endian.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-ExtendedWords.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/Data-Memory-PtrMethods.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/README.md
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/memory.haddock
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/memory-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-memory/distinfo
diff -u pkgsrc/devel/hs-memory/distinfo:1.1 pkgsrc/devel/hs-memory/distinfo:1.2
--- pkgsrc/devel/hs-memory/distinfo:1.1 Thu Jan 16 01:00:24 2020
+++ pkgsrc/devel/hs-memory/distinfo     Fri Apr 23 09:35:56 2021
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.1 2020/01/16 01:00:24 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/23 09:35:56 pho Exp $
 
 SHA1 (memory-0.15.0.tar.gz) = 30305f16ec4b17026da040bcf6a1a9a0de6473a6
 RMD160 (memory-0.15.0.tar.gz) = ac4d2fdeb6a462173b200a721a25b0d2e799e5ad
 SHA512 (memory-0.15.0.tar.gz) = 49aabf5fdaddae597df6d8f30a3e07c4d6d70fcc7b9146452a4ad4e81858786041676bc780e2b048fd683cc7c0d799d4579596c14fae940ea57954e9a7ee9129
 Size (memory-0.15.0.tar.gz) = 42299 bytes
+SHA1 (patch-Data_ByteArray_Bytes.hs) = 771298aac733f10d5ffeaa5243f3c6bfa49bcbfd
+SHA1 (patch-Data_ByteArray_ScrubbedBytes.hs) = 332856ebea1d7bf556a890945def7ef9dbe5d17b
+SHA1 (patch-Data_Memory_MemMap_Posix.hsc) = 97273516ad9731285d18315ab60884ad1c27642e

Added files:

Index: pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_Bytes.hs
diff -u /dev/null pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_Bytes.hs:1.1
--- /dev/null   Fri Apr 23 09:35:57 2021
+++ pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_Bytes.hs        Fri Apr 23 09:35:57 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-Data_ByteArray_Bytes.hs,v 1.1 2021/04/23 09:35:57 pho Exp $
+
+Fix build with GHC 9.
+
+--- Data/ByteArray/Bytes.hs.orig       2021-04-23 09:28:23.358632857 +0000
++++ Data/ByteArray/Bytes.hs
+@@ -16,6 +16,7 @@ module Data.ByteArray.Bytes
+     ( Bytes
+     ) where
+ 
++import           GHC.Exts (unsafeCoerce#)
+ import           GHC.Types
+ import           GHC.Prim
+ import           GHC.Ptr
Index: pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_ScrubbedBytes.hs
diff -u /dev/null pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_ScrubbedBytes.hs:1.1
--- /dev/null   Fri Apr 23 09:35:57 2021
+++ pkgsrc/devel/hs-memory/patches/patch-Data_ByteArray_ScrubbedBytes.hs        Fri Apr 23 09:35:57 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-Data_ByteArray_ScrubbedBytes.hs,v 1.1 2021/04/23 09:35:57 pho Exp $
+
+Fix build with GHC 9.
+
+--- Data/ByteArray/ScrubbedBytes.hs.orig       2021-04-23 09:28:51.592342938 +0000
++++ Data/ByteArray/ScrubbedBytes.hs
+@@ -14,6 +14,7 @@ module Data.ByteArray.ScrubbedBytes
+     ( ScrubbedBytes
+     ) where
+ 
++import           GHC.Exts (unsafeCoerce#)
+ import           GHC.Types
+ import           GHC.Prim
+ import           GHC.Ptr
Index: pkgsrc/devel/hs-memory/patches/patch-Data_Memory_MemMap_Posix.hsc
diff -u /dev/null pkgsrc/devel/hs-memory/patches/patch-Data_Memory_MemMap_Posix.hsc:1.1
--- /dev/null   Fri Apr 23 09:35:57 2021
+++ pkgsrc/devel/hs-memory/patches/patch-Data_Memory_MemMap_Posix.hsc   Fri Apr 23 09:35:57 2021
@@ -0,0 +1,24 @@
+$NetBSD: patch-Data_Memory_MemMap_Posix.hsc,v 1.1 2021/04/23 09:35:57 pho Exp $
+
+Suppress a linker warning about compatibility symbol by using "capi"
+instead of "ccall".
+
+--- Data/Memory/MemMap/Posix.hsc.orig  2019-09-02 02:59:04.000000000 +0000
++++ Data/Memory/MemMap/Posix.hsc
+@@ -20,6 +20,7 @@
+ #include <sys/mman.h>
+ #include <unistd.h>
+ 
++{-# LANGUAGE CApiFFI #-}
+ {-# LANGUAGE ForeignFunctionInterface #-}
+ {-# LANGUAGE CPP #-}
+ module Data.Memory.MemMap.Posix
+@@ -59,7 +60,7 @@ foreign import ccall unsafe "madvise"
+     c_madvise :: Ptr a -> CSize -> CInt -> IO CInt
+ #endif
+ 
+-foreign import ccall unsafe "msync"
++foreign import capi unsafe "sys/mman.h msync"
+     c_msync :: Ptr a -> CSize -> CInt -> IO CInt
+ 
+ foreign import ccall unsafe "mprotect"



Home | Main Index | Thread Index | Old Index