pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-cborg hs-cborg: update to 0.2.7.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6280795d245
branches:  trunk
changeset: 383708:e6280795d245
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 22 10:25:08 2022 +0000

description:
hs-cborg: update to 0.2.7.0.

Changes not documented.

Add upstream patch to fix build.

diffstat:

 devel/hs-cborg/Makefile                              |   5 ++---
 devel/hs-cborg/distinfo                              |   9 +++++----
 devel/hs-cborg/patches/patch-src_Codec_CBOR_Magic.hs |  16 ++++++++++++++++
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r 72947bbc9870 -r e6280795d245 devel/hs-cborg/Makefile
--- a/devel/hs-cborg/Makefile   Mon Aug 22 10:20:37 2022 +0000
+++ b/devel/hs-cborg/Makefile   Mon Aug 22 10:25:08 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:50 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/08/22 10:25:08 wiz Exp $
 
-DISTNAME=      cborg-0.2.6.0
-PKGREVISION=   1
+DISTNAME=      cborg-0.2.7.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 72947bbc9870 -r e6280795d245 devel/hs-cborg/distinfo
--- a/devel/hs-cborg/distinfo   Mon Aug 22 10:20:37 2022 +0000
+++ b/devel/hs-cborg/distinfo   Mon Aug 22 10:25:08 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2022/02/23 16:11:32 pho Exp $
+$NetBSD: distinfo,v 1.2 2022/08/22 10:25:08 wiz Exp $
 
-BLAKE2s (cborg-0.2.6.0.tar.gz) = 92422adcdc11ac906ebe56b4dd48a59db850f2b315f8f1fa59e9666100ebe576
-SHA512 (cborg-0.2.6.0.tar.gz) = a25e7f2857168ffa8a46969cef92e085d7ee1fe03be6e2a9d2baaee671bc753abc693fc535a81600f24e491407dab0d8ec56a05e2509ec0496708bc9309ae007
-Size (cborg-0.2.6.0.tar.gz) = 90855 bytes
+BLAKE2s (cborg-0.2.7.0.tar.gz) = a1e4414e68fe7cda9bac999aa39e1c822186c4e1b46f494f0f54e005648446bf
+SHA512 (cborg-0.2.7.0.tar.gz) = f034bb498a1e7d69dd3587b804f076afdc87d98af494da18385b8ac4271e9257e51c3ff4504bd208e1b856c19558c35f27137adced681dc846b9489892453306
+Size (cborg-0.2.7.0.tar.gz) = 90841 bytes
+SHA1 (patch-src_Codec_CBOR_Magic.hs) = bbc83ce29eb172535ec7a5385c87701b6d9281ae
diff -r 72947bbc9870 -r e6280795d245 devel/hs-cborg/patches/patch-src_Codec_CBOR_Magic.hs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-cborg/patches/patch-src_Codec_CBOR_Magic.hs      Mon Aug 22 10:25:08 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_Codec_CBOR_Magic.hs,v 1.1 2022/08/22 10:25:08 wiz Exp $
+
+ Fix compatibility with primitive 0.7.4.0
+https://github.com/well-typed/cborg/pull/292/files
+
+--- src/Codec/CBOR/Magic.hs.orig       2001-09-09 01:46:40.000000000 +0000
++++ src/Codec/CBOR/Magic.hs
+@@ -109,7 +109,7 @@ import           Data.ByteString (ByteSt
+ import qualified Data.ByteString          as BS
+ import qualified Data.ByteString.Internal as BS
+ import qualified Data.ByteString.Unsafe   as BS
+-import           Data.Primitive.ByteArray as Prim hiding (copyByteArrayToPtr)
++import           Data.Primitive.ByteArray as Prim hiding (copyByteArrayToPtr, copyPtrToMutableByteArray)
+ 
+ import           Foreign.ForeignPtr (withForeignPtr)
+ import           Foreign.C (CUShort)



Home | Main Index | Thread Index | Old Index