head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.05.10.17.38.14; author vins; state Exp; branches; next ; commitid cDdKSm8gj8lJeiFG; desc @@ 1.1 log @sysutils/gvfs: Update to gvfs-1.60.0 Update prepared in wip by PHO, with some later contributions by me. The change log is too long to paste here. See: https://gitlab.gnome.org/GNOME/gvfs/-/blob/master/NEWS @ text @$NetBSD$ Work around a build failure on NetBSD. Not sure if this is the right thing though. No software should use statfs(2) in the first place. --- meson.build.orig 2025-11-14 15:34:15.578508432 +0000 +++ meson.build @@@@ -122,6 +122,10 @@@@ if cc.compiles(statfs_code.format('statf config_h.set('STATFS_ARGS', 2) elif cc.compiles(statfs_code.format('statfs("/", &st, sizeof (st), 0)')) config_h.set('STATFS_ARGS', 4) +elif host_machine.system().contains('netbsd') + # NetBSD has statfs(2) as a compatibility symbol without a function + # declaration, which makes it impossible to determine its type. + config_h.set('STATFS_ARGS', 2) else error('unable to determine number of arguments to statfs()') endif @