pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-fsnotify



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Nov  9 15:07:33 UTC 2026

Modified Files:
        pkgsrc/devel/hs-fsnotify: distinfo
Added Files:
        pkgsrc/devel/hs-fsnotify/patches: patch-src_System_FSNotify.hs

Log Message:
devel/hs-fsnotify: Fix a breakage on (not-yet-committed) GHC 9.10.3


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/hs-fsnotify/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-fsnotify/patches/patch-src_System_FSNotify.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-fsnotify/distinfo
diff -u pkgsrc/devel/hs-fsnotify/distinfo:1.6 pkgsrc/devel/hs-fsnotify/distinfo:1.7
--- pkgsrc/devel/hs-fsnotify/distinfo:1.6       Thu May  2 09:44:00 2024
+++ pkgsrc/devel/hs-fsnotify/distinfo   Mon Nov  9 15:07:32 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2024/05/02 09:44:00 pho Exp $
+$NetBSD: distinfo,v 1.7 2026/11/09 15:07:32 pho Exp $
 
 BLAKE2s (fsnotify-0.4.1.0.tar.gz) = d1fd7c6857bb4a980c4d9d550bba8585098523d490d0ec0acf213254e8216000
 SHA512 (fsnotify-0.4.1.0.tar.gz) = bf924fb9712572e1ded14c630b1fab98daadb81cc87bbd18964176e0db3b41e1024744b996bcc205c7a57f55e63fc28db0ae4fa4009623d26316d1322ddf1c03
 Size (fsnotify-0.4.1.0.tar.gz) = 22783 bytes
 SHA1 (patch-fsnotify.cabal) = 9e99c1be97048e4990f9e0826a09b3e73dd5671b
+SHA1 (patch-src_System_FSNotify.hs) = 3b94fc60683c1e813955416560bc6b9043e14852

Added files:

Index: pkgsrc/devel/hs-fsnotify/patches/patch-src_System_FSNotify.hs
diff -u /dev/null pkgsrc/devel/hs-fsnotify/patches/patch-src_System_FSNotify.hs:1.1
--- /dev/null   Mon Nov  9 15:07:33 2026
+++ pkgsrc/devel/hs-fsnotify/patches/patch-src_System_FSNotify.hs       Mon Nov  9 15:07:33 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_System_FSNotify.hs,v 1.1 2026/11/09 15:07:33 pho Exp $
+
+Fix build with GHC 9.10.3.
+
+TODO: Check whether the upstream has fixed this, which is highly
+likely. Otherwise send this patch.
+
+--- src/System/FSNotify.hs.orig        2026-11-09 15:03:27.983985817 +0000
++++ src/System/FSNotify.hs
+@@ -124,7 +124,7 @@ defaultConfig = WatchConfig {
+   }
+ 
+ defaultOnHandlerException :: SomeException -> IO ()
+-defaultOnHandlerException e = putStrLn ("fsnotify: handler threw exception: " <> show e)
++defaultOnHandlerException e = putStrLn ("fsnotify: handler threw exception: " <> Prelude.show e)
+ 
+ -- | Perform an IO action with a WatchManager in place.
+ -- Tear down the WatchManager after the action is complete.



Home | Main Index | Thread Index | Old Index