head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.11.16.18.09.15; author vins; state Exp; branches; next ; commitid SdSvFYOuJPDUiI3H; desc @@ 1.1 log @x11/worker: update to 6.0.0 # noteworthy changes * Add internal text editor. * Copy and rename based on regular expressions. * Nanoseconds timestamp support. @ text @$NetBSD$ Honor NetBSD's stat.h --- src/nwc_fsentry.cc.orig 2026-11-16 18:03:53.515599777 +0000 +++ src/nwc_fsentry.cc @@@@ -47,7 +47,7 @@@@ namespace NWC if ( worker_lstat( _fullname.c_str(), &stbuf ) == 0 ) { _statbuf.size = stbuf.st_size; -#if _POSIX_C_SOURCE >= 200809L +#if _POSIX_C_SOURCE >= 200809L || defined(_NETBSD_SOURCE) _statbuf.lastaccess = stbuf.st_atim; _statbuf.lastmod = stbuf.st_mtim; _statbuf.lastchange = stbuf.st_ctim; @@@@ -78,7 +78,7 @@@@ namespace NWC if ( worker_stat( _fullname.c_str(), &stbuf ) == 0 ) { _dest_statbuf.size = stbuf.st_size; -#if _POSIX_C_SOURCE >= 200809L +#if _POSIX_C_SOURCE >= 200809L || defined(_NETBSD_SOURCE) _dest_statbuf.lastaccess = stbuf.st_atim; _dest_statbuf.lastmod = stbuf.st_mtim; _dest_statbuf.lastchange = stbuf.st_ctim; @