pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-libffi



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Jan 24 16:52:29 UTC 2023

Modified Files:
        pkgsrc/devel/hs-libffi: Makefile PLIST buildlink3.mk distinfo

Log Message:
devel/hs-libffi: Update to 0.2.1

0.2.1 [2022.09.24]
* Add sizeAndAlignmentOfCType to Foreign.LibFFI.Base, which can be used to
  retrieve the size and alignment of a CType.

0.2 [2022.08.11]
* The libffi library now uses bracket internally and should now be
  exception-safe.
* There is a now a ghc-bundled-libffi cabal flag that makes this library
  statically link against GHC's bundled copy of libffi rather than attempt
  to link against the system libffi. On the vast majority of GHCs, this is
  the most reasonable option, as linking against the system libffi is
  inherently fragile. As a result, +ghc-bundled-libffi is now the defalut
  setting. See the README for more discussion on this point.
* The definition of Arg has changed:
    -newtype Arg = Arg { unArg :: IO (Ptr CType, Ptr CValue, IO ()) }
    +newtype Arg = Arg { unArg :: forall a. (Ptr CType -> Ptr CValue -> IO a) -> IO a }
* The definition of RetType has changed:
    -data RetType a = RetType (Ptr CType) ((Ptr CValue -> IO ()) -> IO a)
    +newtype RetType a = RetType { unRetType :: (Ptr CType -> Ptr CValue -> IO ()) -> IO a }


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/hs-libffi/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-libffi/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/hs-libffi/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-libffi/distinfo

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-libffi/Makefile
diff -u pkgsrc/devel/hs-libffi/Makefile:1.8 pkgsrc/devel/hs-libffi/Makefile:1.9
--- pkgsrc/devel/hs-libffi/Makefile:1.8 Sat Feb 26 03:58:00 2022
+++ pkgsrc/devel/hs-libffi/Makefile     Tue Jan 24 16:52:29 2023
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.8 2022/02/26 03:58:00 pho Exp $
+# $NetBSD: Makefile,v 1.9 2023/01/24 16:52:29 pho Exp $
 
-DISTNAME=      libffi-0.1
-PKGREVISION=   6
+DISTNAME=      libffi-0.2.1
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Haskell binding to libffi
 LICENSE=       modified-bsd
 
-USE_TOOLS+=    pkg-config
+# Our GHC is built with a system libffi. See ${WRKSRC}/README.md for
+# details.
+USE_TOOLS+=            pkg-config
+CONFIGURE_ARGS+=       -f-ghc-bundled-libffi
 
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/haskell.mk"

Index: pkgsrc/devel/hs-libffi/PLIST
diff -u pkgsrc/devel/hs-libffi/PLIST:1.2 pkgsrc/devel/hs-libffi/PLIST:1.3
--- pkgsrc/devel/hs-libffi/PLIST:1.2    Fri Apr 23 15:29:38 2021
+++ pkgsrc/devel/hs-libffi/PLIST        Tue Jan 24 16:52:29 2023
@@ -1,35 +1,35 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/23 15:29:38 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/01/24 16:52:29 pho Exp $
 lib/libffi-${PKGVERSION}/${HS_VERSION}/package-description
 lib/libffi-${PKGVERSION}/${HS_VERSION}/package-id
-lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI.dyn_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Base.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Base.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Base.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Base.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/FFITypes.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Base.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/FFITypes.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/FFITypes.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/FFITypes.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Internal.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/FFITypes.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Internal.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Internal.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Internal.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Types.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Types.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Types.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Types.p_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/LibFFI/Types.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}/libffi-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Base.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-FFITypes.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Internal.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Types.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/doc-index.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/haddock-bundle.min.js
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/index.html
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/libffi.haddock
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/linuwial.css
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/meta.json
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/quick-jump.css
-share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/synopsis.png
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Base.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-FFITypes.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Internal.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI-Types.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/Foreign-LibFFI.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/libffi.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/libffi-${PKGVERSION}/html/synopsis.png

Index: pkgsrc/devel/hs-libffi/buildlink3.mk
diff -u pkgsrc/devel/hs-libffi/buildlink3.mk:1.7 pkgsrc/devel/hs-libffi/buildlink3.mk:1.8
--- pkgsrc/devel/hs-libffi/buildlink3.mk:1.7    Sat Feb 26 03:58:00 2022
+++ pkgsrc/devel/hs-libffi/buildlink3.mk        Tue Jan 24 16:52:29 2023
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.7 2022/02/26 03:58:00 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2023/01/24 16:52:29 pho Exp $
 
 BUILDLINK_TREE+=       hs-libffi
 
 .if !defined(HS_LIBFFI_BUILDLINK3_MK)
 HS_LIBFFI_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-libffi+=      hs-libffi>=0.1
-BUILDLINK_ABI_DEPENDS.hs-libffi?=      hs-libffi>=0.1nb6
+BUILDLINK_API_DEPENDS.hs-libffi+=      hs-libffi>=0.2.1
+BUILDLINK_ABI_DEPENDS.hs-libffi?=      hs-libffi>=0.2.1
 BUILDLINK_PKGSRCDIR.hs-libffi?=                ../../devel/hs-libffi
 
 .include "../../devel/libffi/buildlink3.mk"

Index: pkgsrc/devel/hs-libffi/distinfo
diff -u pkgsrc/devel/hs-libffi/distinfo:1.3 pkgsrc/devel/hs-libffi/distinfo:1.4
--- pkgsrc/devel/hs-libffi/distinfo:1.3 Tue Oct 26 10:14:58 2021
+++ pkgsrc/devel/hs-libffi/distinfo     Tue Jan 24 16:52:29 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:14:58 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/01/24 16:52:29 pho Exp $
 
-BLAKE2s (libffi-0.1.tar.gz) = a56256df12dcbb3279177e744e79b5a076d0839b16b695abdd73ed74900c4fcb
-SHA512 (libffi-0.1.tar.gz) = ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3
-Size (libffi-0.1.tar.gz) = 8597 bytes
+BLAKE2s (libffi-0.2.1.tar.gz) = ec813668d7d4f829595a5e1e68e843e9f59f175dec506da6a7e04241f08714b6
+SHA512 (libffi-0.2.1.tar.gz) = f549d47f5267f7ec2cc6dca72631bfb5a591b1eb815c50107e327dc7c5e373db767fa57009759db213a4a614af89be07cfacf58941b2754b4f4d7cfc617f1de9
+Size (libffi-0.2.1.tar.gz) = 7879 bytes



Home | Main Index | Thread Index | Old Index