pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-async-pool



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 26 03:58:43 UTC 2023

Modified Files:
        pkgsrc/devel/hs-async-pool: PLIST distinfo
Added Files:
        pkgsrc/devel/hs-async-pool/patches:
            patch-Control_Concurrent_Async_Pool_Async.hs

Log Message:
devel/hs-pretty-simple: Update to 4.1.2.0

4.1.2.0
* Fix a problem with the pHPrint function incorrectly outputting a trailing
  newline to stdout, instead of the handle you pass it. #118
* Add a web app where you can play around with pretty-simple in your
  browser. #116. This took a lot of hard work by @georgefst!

4.1.1.0
* Make the pretty-printed output with outputOptionsCompact enabled a little
  more compact. #110. Thanks @juhp!
* Add a --compact / -C flag to the pretty-simple executable that enables
  outputOptionsCompact. #111. Thanks again @juhp!
* Add pTraceWith and pTraceShowWith to Debug.Pretty.Simple. #104. Thanks
  @LeviButcher!

4.1.0.0
* Fix a regression which arose in 4.0, whereby excess spaces would be
  inserted for unusual strings like dates and IP addresses. #105
* Attach warnings to debugging functions, so that they're easy to find and
  remove. #103
* Some minor improvements to the CLI tool:
  - Add a --version/-v flag. #83
  - Add a trailing newline. #87
  - Install by default, without requiring a flag. #94


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-async-pool/PLIST \
    pkgsrc/devel/hs-async-pool/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-async-pool/patches/patch-Control_Concurrent_Async_Pool_Async.hs

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-async-pool/PLIST
diff -u pkgsrc/devel/hs-async-pool/PLIST:1.1 pkgsrc/devel/hs-async-pool/PLIST:1.2
--- pkgsrc/devel/hs-async-pool/PLIST:1.1        Wed Feb 23 16:51:44 2022
+++ pkgsrc/devel/hs-async-pool/PLIST    Thu Jan 26 03:58:43 2023
@@ -1,25 +1,25 @@
-@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:51:44 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/01/26 03:58:43 pho Exp $
 lib/async-pool-${PKGVERSION}/${HS_VERSION}/package-description
 lib/async-pool-${PKGVERSION}/${HS_VERSION}/package-id
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool.dyn_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Async.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Async.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Async.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Async.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Internal.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Async.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Internal.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Internal.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Internal.p_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/Async/Pool/Internal.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
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/Control-Concurrent-Async-Pool.html
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/async-pool.haddock
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/doc-index.html
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/haddock-bundle.min.js
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/index.html
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/linuwial.css
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/meta.json
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/quick-jump.css
-share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/synopsis.png
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/Control-Concurrent-Async-Pool.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/async-pool.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/async-pool-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-async-pool/distinfo
diff -u pkgsrc/devel/hs-async-pool/distinfo:1.1 pkgsrc/devel/hs-async-pool/distinfo:1.2
--- pkgsrc/devel/hs-async-pool/distinfo:1.1     Wed Feb 23 16:51:44 2022
+++ pkgsrc/devel/hs-async-pool/distinfo Thu Jan 26 03:58:43 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2022/02/23 16:51:44 pho Exp $
+$NetBSD: distinfo,v 1.2 2023/01/26 03:58:43 pho Exp $
 
 BLAKE2s (async-pool-0.9.1.tar.gz) = b0cde9e12cc7c5e83339d908e4ec1c8d6a1943e3b7a9d07ea6a2539eeea73ef1
 SHA512 (async-pool-0.9.1.tar.gz) = 36f955bf85ef37b8cf5c4b25638df7cd3c88afe5cc87668d7bcaf1b244b655594220f0031e56e754470014d00d6e01b7ad6d090b8e88ef2ec6bebb4c8c8909ce
 Size (async-pool-0.9.1.tar.gz) = 15109 bytes
+SHA1 (patch-Control_Concurrent_Async_Pool_Async.hs) = ac9708f460bc50dcb359ac197c06628354f141c9

Added files:

Index: pkgsrc/devel/hs-async-pool/patches/patch-Control_Concurrent_Async_Pool_Async.hs
diff -u /dev/null pkgsrc/devel/hs-async-pool/patches/patch-Control_Concurrent_Async_Pool_Async.hs:1.1
--- /dev/null   Thu Jan 26 03:58:43 2023
+++ pkgsrc/devel/hs-async-pool/patches/patch-Control_Concurrent_Async_Pool_Async.hs     Thu Jan 26 03:58:43 2023
@@ -0,0 +1,26 @@
+$NetBSD: patch-Control_Concurrent_Async_Pool_Async.hs,v 1.1 2023/01/26 03:58:43 pho Exp $
+
+Fix build with GHC 9.4:
+https://github.com/jwiegley/async-pool/commit/c5b8e82be6496fd754ce78a4303bb177d6c6a6df
+
+--- Control/Concurrent/Async/Pool/Async.hs.orig        2001-09-09 01:46:40.000000000 +0000
++++ Control/Concurrent/Async/Pool/Async.hs
+@@ -710,10 +710,18 @@ tryAll = try
+ -- exception handler.
+ {-# INLINE rawForkIO #-}
+ rawForkIO :: IO () -> IO ThreadId
++#if MIN_VERSION_base(4,17,0)
++rawForkIO (IO action) = IO $ \ s ->
++#else
+ rawForkIO action = IO $ \ s ->
++#endif
+    case (fork# action s) of (# s1, tid #) -> (# s1, ThreadId tid #)
+ 
+ {-# INLINE rawForkOn #-}
+ rawForkOn :: Int -> IO () -> IO ThreadId
++#if MIN_VERSION_base(4,17,0)
++rawForkOn (I# cpu) (IO action) = IO $ \ s ->
++#else
+ rawForkOn (I# cpu) action = IO $ \ s ->
++#endif
+    case (forkOn# cpu action s) of (# s1, tid #) -> (# s1, ThreadId tid #)



Home | Main Index | Thread Index | Old Index