If anyone is interested this was the fix. Although it
is not yet mentioned in NetBSD man pages it seems NetBSD now has acl_get_permset_np just
like FreeBSD does:
https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/sys/acl.h
tdeio/tdeio/posixacladdons.h:
-#ifdef Q_OS_FREEBSD
+#if defined Q_OS_FREEBSD || defined Q_OS_NETBSD
plus some build file tweaks:
sed -i 's/lXrender/\L\/usr\/X11R7\/lib\ \-lXrender/g' build.ninja
sed -i 's/lX11/\L\/usr\/X11R7\/lib\ \-lX11/g' build.ninja
Hi Gavgav,
you can create a pull request on TGW, so we can incorporate the fix.
See the guide here: