pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/hs-clock Update to clock-0.8.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/701938e5d15a
branches: trunk
changeset: 451024:701938e5d15a
user: pho <pho%pkgsrc.org@localhost>
date: Sat Apr 24 05:17:54 2021 +0000
description:
Update to clock-0.8.2
No change logs are provided by the upstream.
diffstat:
time/hs-clock/Makefile | 4 +-
time/hs-clock/PLIST | 36 ++++++++++++++--------------
time/hs-clock/buildlink3.mk | 8 +++---
time/hs-clock/distinfo | 11 ++++---
time/hs-clock/patches/patch-System_Clock.hsc | 26 ++++++++++++++++++++
5 files changed, 56 insertions(+), 29 deletions(-)
diffs (120 lines):
diff -r ffc9f18d1fab -r 701938e5d15a time/hs-clock/Makefile
--- a/time/hs-clock/Makefile Sat Apr 24 05:12:04 2021 +0000
+++ b/time/hs-clock/Makefile Sat Apr 24 05:17:54 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/01/03 05:31:56 pho Exp $
+# $NetBSD: Makefile,v 1.2 2021/04/24 05:17:54 pho Exp $
-DISTNAME= clock-0.8
+DISTNAME= clock-0.8.2
CATEGORIES= time
MAINTAINER= pho%cielonegro.org@localhost
diff -r ffc9f18d1fab -r 701938e5d15a time/hs-clock/PLIST
--- a/time/hs-clock/PLIST Sat Apr 24 05:12:04 2021 +0000
+++ b/time/hs-clock/PLIST Sat Apr 24 05:17:54 2021 +0000
@@ -1,19 +1,19 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:19 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/System/Clock.dyn_hi
-${HS_IMPL}/System/Clock.hi
-${HS_IMPL}/System/Clock.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.2 2021/04/24 05:17:54 pho Exp $
+lib/clock-${PKGVERSION}/${HS_VERSION}/package-description
+lib/clock-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/System-Clock.html
-${HS_DOCS}/html/clock.haddock
-${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/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/System-Clock.html
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/clock.haddock
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/synopsis.png
diff -r ffc9f18d1fab -r 701938e5d15a time/hs-clock/buildlink3.mk
--- a/time/hs-clock/buildlink3.mk Sat Apr 24 05:12:04 2021 +0000
+++ b/time/hs-clock/buildlink3.mk Sat Apr 24 05:17:54 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 05:31:56 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/24 05:17:54 pho Exp $
BUILDLINK_TREE+= hs-clock
.if !defined(HS_CLOCK_BUILDLINK3_MK)
HS_CLOCK_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-clock+= hs-clock>=0.8
-BUILDLINK_ABI_DEPENDS.hs-clock+= hs-clock>=0.8
-BUILDLINK_PKGSRCDIR.hs-clock?= ../../time/hs-clock
+BUILDLINK_API_DEPENDS.hs-clock+= hs-clock>=0.8.2
+BUILDLINK_ABI_DEPENDS.hs-clock+= hs-clock>=0.8.2
+BUILDLINK_PKGSRCDIR.hs-clock?= ../../time/hs-clock
.endif # HS_CLOCK_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-clock
diff -r ffc9f18d1fab -r 701938e5d15a time/hs-clock/distinfo
--- a/time/hs-clock/distinfo Sat Apr 24 05:12:04 2021 +0000
+++ b/time/hs-clock/distinfo Sat Apr 24 05:17:54 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/03 05:31:56 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/24 05:17:54 pho Exp $
-SHA1 (clock-0.8.tar.gz) = 3422e457dcfb01026ba96e4b982021c231800c3f
-RMD160 (clock-0.8.tar.gz) = 91547340e4f5a65f458d0fd176757094f6afbc26
-SHA512 (clock-0.8.tar.gz) = c966811e3df10d299a8c5a56f0d9ffeaea1e819516d3efb1f2454254bd828e891e579894ca4783f3249e35793b1721a4a4fae867c8e2e4d2d6519ee9abd752b9
-Size (clock-0.8.tar.gz) = 7916 bytes
+SHA1 (clock-0.8.2.tar.gz) = d71603595142b22abd4817c5dba84713639e42b7
+RMD160 (clock-0.8.2.tar.gz) = 55bdfe8cc96d5d924f8e9a58c4e66b187902e5e1
+SHA512 (clock-0.8.2.tar.gz) = 42a7681ae8f1357c4ae39f51a15d7a00f3d587c8fc787d648308f914702471e6f9b32ee51fa1e8164a77f195600fdab8e27d45aa13a7052a921c4b8c246b891e
+Size (clock-0.8.2.tar.gz) = 7604 bytes
+SHA1 (patch-System_Clock.hsc) = 4f36a3d3626de93814b028e06ee788f7ce1ba6bb
diff -r ffc9f18d1fab -r 701938e5d15a time/hs-clock/patches/patch-System_Clock.hsc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/hs-clock/patches/patch-System_Clock.hsc Sat Apr 24 05:17:54 2021 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-System_Clock.hsc,v 1.1 2021/04/24 05:17:54 pho Exp $
+
+Suppress linker warnings about compatibility symbols by using "capi"
+instead of "ccall".
+
+--- System/Clock.hsc.orig 2001-09-09 01:46:40.000000000 +0000
++++ System/Clock.hsc
+@@ -2,6 +2,7 @@
+ -- systems. This module is being developed according to IEEE Std
+ -- 1003.1-2008: <http://www.opengroup.org/onlinepubs/9699919799/>,
+ -- <http://www.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html#>
++{-# LANGUAGE CApiFFI #-}
+
+ {-# OPTIONS_GHC -fno-warn-type-defaults #-}
+ -- To allow importing Data.Int and Data.Word indiscriminately on all platforms,
+@@ -129,8 +130,8 @@ foreign import ccall unsafe hs_clock_win
+ foreign import ccall unsafe hs_clock_win32_getres_processtime :: Ptr TimeSpec -> IO ()
+ foreign import ccall unsafe hs_clock_win32_getres_threadtime :: Ptr TimeSpec -> IO ()
+ #else
+-foreign import ccall unsafe clock_gettime :: #{type clockid_t} -> Ptr TimeSpec -> IO CInt
+-foreign import ccall unsafe clock_getres :: #{type clockid_t} -> Ptr TimeSpec -> IO CInt
++foreign import capi unsafe "time.h clock_gettime" clock_gettime :: #{type clockid_t} -> Ptr TimeSpec -> IO CInt
++foreign import capi unsafe "time.h clock_getres" clock_getres :: #{type clockid_t} -> Ptr TimeSpec -> IO CInt
+ #endif
+
+ #if !defined(_WIN32)
Home |
Main Index |
Thread Index |
Old Index