I'm running 12.0-CURRENT r320873 and building net-mgmt/netdata
fails with:
apps_plugin.c:1575:101: error: no member named 'kf_sa_local' in 'struct kinfo_file'
sprintf(fdsname, "socket: other: %d %s %s", fds->kf_sock_protocol, fds->kf_sa_local.__ss_pad1, fds->kf_sa_local.__ss_pad2);
~~~ ^
...
freebsd_sysctl.c:753:20: error: variable has incomplete type 'struct vmmeter'
struct vmmeter vmmeter_data;
^
...AFAICT we need to explicitly ask for struct vmmeter by defining
_WANT_VMMETER now, and struct kinfo_file was updated with the
ino64 commits and kf_sa_local was moved to
kf_un.kf_sock.kf_sa_local.