pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/hs-hourglass Update PLIST
details: https://anonhg.NetBSD.org/pkgsrc/rev/9529210482fc
branches: trunk
changeset: 450934:9529210482fc
user: pho <pho%pkgsrc.org@localhost>
date: Fri Apr 23 10:16:06 2021 +0000
description:
Update PLIST
diffstat:
time/hs-hourglass/PLIST | 146 +++++-----
time/hs-hourglass/distinfo | 3 +-
time/hs-hourglass/patches/patch-Data_Hourglass_Internal_Unix.hs | 36 ++
3 files changed, 111 insertions(+), 74 deletions(-)
diffs (203 lines):
diff -r 54a7ff84e2d9 -r 9529210482fc time/hs-hourglass/PLIST
--- a/time/hs-hourglass/PLIST Fri Apr 23 10:06:52 2021 +0000
+++ b/time/hs-hourglass/PLIST Fri Apr 23 10:16:06 2021 +0000
@@ -1,74 +1,74 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:20 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Data/Hourglass.dyn_hi
-${HS_IMPL}/Data/Hourglass.hi
-${HS_IMPL}/Data/Hourglass.p_hi
-${HS_IMPL}/Data/Hourglass/Calendar.dyn_hi
-${HS_IMPL}/Data/Hourglass/Calendar.hi
-${HS_IMPL}/Data/Hourglass/Calendar.p_hi
-${HS_IMPL}/Data/Hourglass/Compat.dyn_hi
-${HS_IMPL}/Data/Hourglass/Compat.hi
-${HS_IMPL}/Data/Hourglass/Compat.p_hi
-${HS_IMPL}/Data/Hourglass/Diff.dyn_hi
-${HS_IMPL}/Data/Hourglass/Diff.hi
-${HS_IMPL}/Data/Hourglass/Diff.p_hi
-${HS_IMPL}/Data/Hourglass/Epoch.dyn_hi
-${HS_IMPL}/Data/Hourglass/Epoch.hi
-${HS_IMPL}/Data/Hourglass/Epoch.p_hi
-${HS_IMPL}/Data/Hourglass/Format.dyn_hi
-${HS_IMPL}/Data/Hourglass/Format.hi
-${HS_IMPL}/Data/Hourglass/Format.p_hi
-${HS_IMPL}/Data/Hourglass/Internal.dyn_hi
-${HS_IMPL}/Data/Hourglass/Internal.hi
-${HS_IMPL}/Data/Hourglass/Internal.p_hi
-${HS_IMPL}/Data/Hourglass/Internal/Unix.dyn_hi
-${HS_IMPL}/Data/Hourglass/Internal/Unix.hi
-${HS_IMPL}/Data/Hourglass/Internal/Unix.p_hi
-${HS_IMPL}/Data/Hourglass/Local.dyn_hi
-${HS_IMPL}/Data/Hourglass/Local.hi
-${HS_IMPL}/Data/Hourglass/Local.p_hi
-${HS_IMPL}/Data/Hourglass/Time.dyn_hi
-${HS_IMPL}/Data/Hourglass/Time.hi
-${HS_IMPL}/Data/Hourglass/Time.p_hi
-${HS_IMPL}/Data/Hourglass/Types.dyn_hi
-${HS_IMPL}/Data/Hourglass/Types.hi
-${HS_IMPL}/Data/Hourglass/Types.p_hi
-${HS_IMPL}/Data/Hourglass/Utils.dyn_hi
-${HS_IMPL}/Data/Hourglass/Utils.hi
-${HS_IMPL}/Data/Hourglass/Utils.p_hi
-${HS_IMPL}/Data/Hourglass/Zone.dyn_hi
-${HS_IMPL}/Data/Hourglass/Zone.hi
-${HS_IMPL}/Data/Hourglass/Zone.p_hi
-${HS_IMPL}/System/Hourglass.dyn_hi
-${HS_IMPL}/System/Hourglass.hi
-${HS_IMPL}/System/Hourglass.p_hi
-${HS_IMPL}/Time/Compat.dyn_hi
-${HS_IMPL}/Time/Compat.hi
-${HS_IMPL}/Time/Compat.p_hi
-${HS_IMPL}/Time/System.dyn_hi
-${HS_IMPL}/Time/System.hi
-${HS_IMPL}/Time/System.p_hi
-${HS_IMPL}/Time/Types.dyn_hi
-${HS_IMPL}/Time/Types.hi
-${HS_IMPL}/Time/Types.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.2 2021/04/23 10:16:06 pho Exp $
+lib/hourglass-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hourglass-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Calendar.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Calendar.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Calendar.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Compat.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Compat.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Compat.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Diff.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Diff.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Diff.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Epoch.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Epoch.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Epoch.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Format.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Format.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Format.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal/Unix.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal/Unix.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Internal/Unix.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Local.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Local.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Local.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Time.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Time.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Time.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Utils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Utils.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Utils.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Zone.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Zone.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hourglass/Zone.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Hourglass.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Hourglass.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Hourglass.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Compat.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Compat.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Compat.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/System.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/System.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/System.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Time/Types.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/Data-Hourglass-Compat.html
-${HS_DOCS}/html/Data-Hourglass-Epoch.html
-${HS_DOCS}/html/Data-Hourglass-Types.html
-${HS_DOCS}/html/Data-Hourglass.html
-${HS_DOCS}/html/System-Hourglass.html
-${HS_DOCS}/html/Time-Compat.html
-${HS_DOCS}/html/Time-System.html
-${HS_DOCS}/html/Time-Types.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/hourglass.haddock
-${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}/hourglass-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Data-Hourglass-Compat.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Data-Hourglass-Epoch.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Data-Hourglass-Types.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Data-Hourglass.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/System-Hourglass.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Time-Compat.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Time-System.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/Time-Types.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/hourglass.haddock
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/hourglass-${PKGVERSION}/html/synopsis.png
diff -r 54a7ff84e2d9 -r 9529210482fc time/hs-hourglass/distinfo
--- a/time/hs-hourglass/distinfo Fri Apr 23 10:06:52 2021 +0000
+++ b/time/hs-hourglass/distinfo Fri Apr 23 10:16:06 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/16 23:27:03 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/23 10:16:06 pho Exp $
SHA1 (hourglass-0.2.12.tar.gz) = a37ea48770c72df30b162db8353e71972a836b48
RMD160 (hourglass-0.2.12.tar.gz) = 6d5bf3030c392f2c7ba524a0872ba7ac0ace7779
SHA512 (hourglass-0.2.12.tar.gz) = c748d7f875ca0b1ea9034dba1a5cfa3fc4e51613ce24c90b54856fdc385d9ccc5eda3559f1674abf3ea966cc7851891dfee86bad897062a97a79db8408574bdc
Size (hourglass-0.2.12.tar.gz) = 25797 bytes
+SHA1 (patch-Data_Hourglass_Internal_Unix.hs) = 9f7c525e231a15fa1f0f4c03a79bcdb46659ad31
diff -r 54a7ff84e2d9 -r 9529210482fc time/hs-hourglass/patches/patch-Data_Hourglass_Internal_Unix.hs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/hs-hourglass/patches/patch-Data_Hourglass_Internal_Unix.hs Fri Apr 23 10:16:06 2021 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-Data_Hourglass_Internal_Unix.hs,v 1.1 2021/04/23 10:16:07 pho Exp $
+
+Suppress linker warnings about compatibility symbols by using "capi"
+instead of "ccall".
+
+--- Data/Hourglass/Internal/Unix.hs.orig 2021-04-23 10:12:09.501804974 +0000
++++ Data/Hourglass/Internal/Unix.hs
+@@ -11,6 +11,7 @@
+ -- Some obscure unix system might not support them.
+ --
+ {-# LANGUAGE ForeignFunctionInterface #-}
++{-# LANGUAGE CApiFFI #-}
+ {-# LANGUAGE CPP #-}
+ {-# LANGUAGE EmptyDataDecls #-}
+ module Data.Hourglass.Internal.Unix
+@@ -76,16 +77,16 @@ foreign import ccall unsafe "hourglass_c
+ c_clock_get :: Ptr CLong -> IO ()
+
+ #if (MIN_VERSION_base(4,5,0))
+-foreign import ccall unsafe "gmtime_r"
++foreign import capi unsafe "time.h gmtime_r"
+ c_gmtime_r :: Ptr CTime -> Ptr CTm -> IO (Ptr CTm)
+
+-foreign import ccall unsafe "localtime_r"
++foreign import capi unsafe "time.h localtime_r"
+ c_localtime_r :: Ptr CTime -> Ptr CTm -> IO (Ptr CTm)
+ #else
+-foreign import ccall unsafe "gmtime_r"
++foreign import capi unsafe "time.h gmtime_r"
+ c_gmtime_r :: Ptr CLong -> Ptr CTm -> IO (Ptr CTm)
+
+-foreign import ccall unsafe "localtime_r"
++foreign import capi unsafe "time.h localtime_r"
+ c_localtime_r :: Ptr CLong -> Ptr CTm -> IO (Ptr CTm)
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index