Update to the latest release:

https://github.com/emcrisostomo/fswatch/releases/tag/1.18.3

ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/fswatch/Makefile,v
diff -u -p -r1.1.1.1 Makefile
--- Makefile    4 Oct 2024 09:23:34 -0000       1.1.1.1
+++ Makefile    25 Mar 2025 19:20:43 -0000
@@ -1,9 +1,9 @@
 COMMENT =      file change monitor
 
 DISTNAME =     fswatch-${V}
-V =            1.17.1
+V =            1.18.3
 
-SHARED_LIBS += fswatch 0.0 # 13.0
+SHARED_LIBS += fswatch 0.1 # 13.0
 
 CATEGORIES =   sysutils
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/fswatch/distinfo,v
diff -u -p -r1.1.1.1 distinfo
--- distinfo    4 Oct 2024 09:23:34 -0000       1.1.1.1
+++ distinfo    25 Mar 2025 19:20:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (fswatch-1.17.1.tar.gz) = w440HFZ/Xxa/pkty/Ei7pek4c9hXJSLmcObzILvCEi8=
-SIZE (fswatch-1.17.1.tar.gz) = 853852
+SHA256 (fswatch-1.18.3.tar.gz) = CLE8Dg+SvV7uWjELtY/Dc/DNqDBPnezDTPq8Qq346co=
+SIZE (fswatch-1.18.3.tar.gz) = 815588
Index: patches/patch-libfswatch_src_libfswatch_c++_kqueue_monitor_cpp
===================================================================
RCS file: patches/patch-libfswatch_src_libfswatch_c++_kqueue_monitor_cpp
diff -N patches/patch-libfswatch_src_libfswatch_c++_kqueue_monitor_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libfswatch_src_libfswatch_c++_kqueue_monitor_cpp      25 Mar 
2025 19:20:43 -0000
@@ -0,0 +1,12 @@
+Index: libfswatch/src/libfswatch/c++/kqueue_monitor.cpp
+--- libfswatch/src/libfswatch/c++/kqueue_monitor.cpp.orig
++++ libfswatch/src/libfswatch/c++/kqueue_monitor.cpp
+@@ -131,7 +131,7 @@ namespace fsw
+     nanoseconds *= 1000000000;
+ 
+     struct timespec ts{};
+-    ts.tv_sec = static_cast<__darwin_time_t>(seconds);
++    ts.tv_sec = seconds;
+     ts.tv_nsec = static_cast<long>(nanoseconds);
+ 
+     return ts;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/fswatch/pkg/PLIST,v
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   4 Oct 2024 09:23:34 -0000       1.1.1.1
+++ pkg/PLIST   25 Mar 2025 19:20:43 -0000
@@ -6,8 +6,6 @@ include/libfswatch/c++/event.hpp
 include/libfswatch/c++/filter.hpp
 include/libfswatch/c++/kqueue_monitor.hpp
 include/libfswatch/c++/libfswatch_exception.hpp
-include/libfswatch/c++/libfswatch_map.hpp
-include/libfswatch/c++/libfswatch_set.hpp
 include/libfswatch/c++/monitor.hpp
 include/libfswatch/c++/monitor_factory.hpp
 include/libfswatch/c++/path_utils.hpp

Reply via email to