pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/hs-clock
Module Name: pkgsrc
Committed By: pho
Date: Tue Oct 24 10:42:22 UTC 2023
Modified Files:
pkgsrc/time/hs-clock: Makefile PLIST buildlink3.mk distinfo
pkgsrc/time/hs-clock/patches: patch-System_Clock.hsc
Log Message:
time/hs-clock: Update to 0.8.4
No change log is provided by the upstream.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/hs-clock/Makefile \
pkgsrc/time/hs-clock/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/time/hs-clock/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/time/hs-clock/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/hs-clock/Makefile
diff -u pkgsrc/time/hs-clock/Makefile:1.10 pkgsrc/time/hs-clock/Makefile:1.11
--- pkgsrc/time/hs-clock/Makefile:1.10 Mon Oct 9 04:54:56 2023
+++ pkgsrc/time/hs-clock/Makefile Tue Oct 24 10:42:22 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2023/10/09 04:54:56 pho Exp $
+# $NetBSD: Makefile,v 1.11 2023/10/24 10:42:22 pho Exp $
-DISTNAME= clock-0.8.3
-PKGREVISION= 3
+DISTNAME= clock-0.8.4
CATEGORIES= time
MAINTAINER= pho%cielonegro.org@localhost
Index: pkgsrc/time/hs-clock/buildlink3.mk
diff -u pkgsrc/time/hs-clock/buildlink3.mk:1.10 pkgsrc/time/hs-clock/buildlink3.mk:1.11
--- pkgsrc/time/hs-clock/buildlink3.mk:1.10 Mon Oct 9 04:54:56 2023
+++ pkgsrc/time/hs-clock/buildlink3.mk Tue Oct 24 10:42:22 2023
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.10 2023/10/09 04:54:56 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2023/10/24 10:42:22 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.3
-BUILDLINK_ABI_DEPENDS.hs-clock+= hs-clock>=0.8.3nb3
+BUILDLINK_API_DEPENDS.hs-clock+= hs-clock>=0.8.4
+BUILDLINK_ABI_DEPENDS.hs-clock+= hs-clock>=0.8.4
BUILDLINK_PKGSRCDIR.hs-clock?= ../../time/hs-clock
.endif # HS_CLOCK_BUILDLINK3_MK
Index: pkgsrc/time/hs-clock/PLIST
diff -u pkgsrc/time/hs-clock/PLIST:1.3 pkgsrc/time/hs-clock/PLIST:1.4
--- pkgsrc/time/hs-clock/PLIST:1.3 Tue Sep 6 19:18:33 2022
+++ pkgsrc/time/hs-clock/PLIST Tue Oct 24 10:42:22 2023
@@ -1,23 +1,25 @@
-@comment $NetBSD: PLIST,v 1.3 2022/09/06 19:18:33 pho Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/10/24 10:42:22 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
+${PLIST.shlibs}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}/System/Clock/Seconds.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock/Seconds.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock/Seconds.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock/Seconds.p_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Clock/Seconds.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
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/System-Clock-Seconds.html
-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
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/System-Clock-Seconds.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/System-Clock.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/clock.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/clock-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/time/hs-clock/distinfo
diff -u pkgsrc/time/hs-clock/distinfo:1.5 pkgsrc/time/hs-clock/distinfo:1.6
--- pkgsrc/time/hs-clock/distinfo:1.5 Tue Sep 6 19:18:33 2022
+++ pkgsrc/time/hs-clock/distinfo Tue Oct 24 10:42:22 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2022/09/06 19:18:33 pho Exp $
+$NetBSD: distinfo,v 1.6 2023/10/24 10:42:22 pho Exp $
-BLAKE2s (clock-0.8.3.tar.gz) = 67854ccfbbbb4f86e55342b3017d5ba34e71fab0c8696facf5ddab7fcad0c340
-SHA512 (clock-0.8.3.tar.gz) = 86424c9593b9851a3c59ceb23a1665526a0f7e47a18322aa772feff2babb8799c1c2187005639882e4a1553cc327e78a25e85ebe87dec6de17cad050b526ff6f
-Size (clock-0.8.3.tar.gz) = 9099 bytes
-SHA1 (patch-System_Clock.hsc) = 4f36a3d3626de93814b028e06ee788f7ce1ba6bb
+BLAKE2s (clock-0.8.4.tar.gz) = da4d81d0a0980d71481ad281d803878816e16c8a0a95ab6177ca27e9487a372e
+SHA512 (clock-0.8.4.tar.gz) = 0bfe1d966d0514852644c4475138f1468e2438d6703ea0e8f5a0d0a8e86c18dea83c2cda5b4e452a3bcf3797c3cdcf75930a19c0f94328108a73cfcf984d7f85
+Size (clock-0.8.4.tar.gz) = 9322 bytes
+SHA1 (patch-System_Clock.hsc) = 8c464443b91e0b0db990a071e81165a4284aba28
Index: pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc
diff -u pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc:1.1 pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc:1.2
--- pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc:1.1 Sat Apr 24 05:17:54 2021
+++ pkgsrc/time/hs-clock/patches/patch-System_Clock.hsc Tue Oct 24 10:42:22 2023
@@ -1,26 +1,18 @@
-$NetBSD: patch-System_Clock.hsc,v 1.1 2021/04/24 05:17:54 pho Exp $
+$NetBSD: patch-System_Clock.hsc,v 1.2 2023/10/24 10:42:22 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
+@@ -149,8 +149,8 @@ type ClockId = CClockId
+ type ClockId = #{type clockid_t}
#endif
- #if !defined(_WIN32)
+-foreign import ccall unsafe clock_gettime :: ClockId -> Ptr TimeSpec -> IO CInt
+-foreign import ccall unsafe clock_getres :: ClockId -> Ptr TimeSpec -> IO CInt
++foreign import capi unsafe "time.h clock_gettime" clock_gettime :: ClockId -> Ptr TimeSpec -> IO CInt
++foreign import capi unsafe "time.h clock_getres" clock_getres :: ClockId -> Ptr TimeSpec -> IO CInt
+
+ foreign import capi unsafe "time.h value CLOCK_MONOTONIC" clock_MONOTONIC :: ClockId
+ foreign import capi unsafe "time.h value CLOCK_REALTIME" clock_REALTIME :: ClockId
Home |
Main Index |
Thread Index |
Old Index