diff --git a/filesystems/fswatch-mon/Makefile b/filesystems/fswatch-mon/Makefile index 024b1176b393..2b913ae2a47a 100644 --- a/filesystems/fswatch-mon/Makefile +++ b/filesystems/fswatch-mon/Makefile @@ -1,30 +1,29 @@ PORTNAME= fswatch -DISTVERSION= 1.13.0 -PORTREVISION= 3 +DISTVERSION= 1.20.1 CATEGORIES= filesystems sysutils MASTER_SITES= https://github.com/emcrisostomo/${PORTNAME}/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= -mon MAINTAINER= enrico.m.crisostomo@gmail.com COMMENT= Cross-platform file change monitor WWW= https://github.com/emcrisostomo/fswatch LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= compiler:c++11-lang libtool makeinfo +USES= compiler:c++17-lang libtool makeinfo USE_LDCONFIG= yes CONFLICTS_INSTALL= fswatch GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INFO= fswatch INSTALL_TARGET= install-strip +LIBS= -lpthread OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/filesystems/fswatch-mon/distinfo b/filesystems/fswatch-mon/distinfo index d761195bb2be..6eed2c348dd6 100644 --- a/filesystems/fswatch-mon/distinfo +++ b/filesystems/fswatch-mon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1540284604 -SHA256 (fswatch-1.13.0.tar.gz) = 90bcf0e02fa586251aa3233cb805ca4087e81de2c5960150a0676cc42f8534bb -SIZE (fswatch-1.13.0.tar.gz) = 819644 +TIMESTAMP = 1777830395 +SHA256 (fswatch-1.20.1.tar.gz) = 890c2d7c53f4e05726d891e6211e6700d5724d6a4d29055282bb849f6eaae227 +SIZE (fswatch-1.20.1.tar.gz) = 849573 diff --git a/filesystems/fswatch-mon/files/patch-libfswatch_src_libfswatch_c++_kqueue__monitor.cpp b/filesystems/fswatch-mon/files/patch-libfswatch_src_libfswatch_c++_kqueue__monitor.cpp new file mode 100644 index 000000000000..2ce72f4bc63c --- /dev/null +++ b/filesystems/fswatch-mon/files/patch-libfswatch_src_libfswatch_c++_kqueue__monitor.cpp @@ -0,0 +1,11 @@ +--- libfswatch/src/libfswatch/c++/kqueue_monitor.cpp.orig 2026-04-29 08:45:38 UTC ++++ 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 = static_cast(seconds); + ts.tv_nsec = static_cast(nanoseconds); + + return ts; diff --git a/filesystems/fswatch-mon/pkg-plist b/filesystems/fswatch-mon/pkg-plist index 88bdd75d8212..b6bb6a73b4a8 100644 --- a/filesystems/fswatch-mon/pkg-plist +++ b/filesystems/fswatch-mon/pkg-plist @@ -1,47 +1,47 @@ bin/fswatch 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 include/libfswatch/c++/poll_monitor.hpp include/libfswatch/c++/string_utils.hpp include/libfswatch/c/cevent.h include/libfswatch/c/cfilter.h include/libfswatch/c/cmonitor.h include/libfswatch/c/error.h include/libfswatch/c/libfswatch.h include/libfswatch/c/libfswatch_log.h include/libfswatch/c/libfswatch_types.h lib/libfswatch.a lib/libfswatch.so -lib/libfswatch.so.11 -lib/libfswatch.so.11.0.0 -share/man/man7/fswatch.7.gz +lib/libfswatch.so.14 +lib/libfswatch.so.14.0.0 +libdata/pkgconfig/libfswatch.pc %%NLS%%%%PORTDOCS%%%%DOCSDIR%%/ABOUT-NLS %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.libfswatch %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/NEWS.libfswatch %%PORTDOCS%%%%DOCSDIR%%/README.bsd %%PORTDOCS%%%%DOCSDIR%%/README.codestyle %%PORTDOCS%%%%DOCSDIR%%/README.freebsd -%%PORTDOCS%%%%DOCSDIR%%/README.libfswatch.md %%PORTDOCS%%%%DOCSDIR%%/README.gnu-build-system %%PORTDOCS%%%%DOCSDIR%%/README.illumos +%%PORTDOCS%%%%DOCSDIR%%/README.libfswatch.md %%PORTDOCS%%%%DOCSDIR%%/README.linux +%%PORTDOCS%%%%DOCSDIR%%/README.macos %%PORTDOCS%%%%DOCSDIR%%/README.md -%%PORTDOCS%%%%DOCSDIR%%/README.osx %%PORTDOCS%%%%DOCSDIR%%/README.smartos %%PORTDOCS%%%%DOCSDIR%%/README.solaris %%PORTDOCS%%%%DOCSDIR%%/README.windows +%%NLS%%share/locale/en/LC_MESSAGES/fswatch.mo %%NLS%%share/locale/en@boldquot/LC_MESSAGES/fswatch.mo %%NLS%%share/locale/en@quot/LC_MESSAGES/fswatch.mo %%NLS%%share/locale/es/LC_MESSAGES/fswatch.mo %%NLS%%share/locale/it/LC_MESSAGES/fswatch.mo +share/man/man7/fswatch.7.gz