Created attachment 216802 [details] Remove duplicate u_int definition libnfs typedefs 'u_int'. But so does FreeBSD's sys/types.h. Fix the build by removing that line.
FYI, upstream accepted the change.
A commit references this bug: Author: asomers Date: Mon Aug 10 20:48:57 UTC 2020 New revision: 544646 URL: https://svnweb.freebsd.org/changeset/ports/544646 Log: net/libnfs: fix build error regarding "redefinition of typedef" libnfs was redefining u_int, causing programs using libnfs to get "error: redefinition of typedef 'u_int' is a C11 feature" errors. Upstream PR: https://github.com/sahlberg/libnfs/pull/326 PR: 248296 Approved by: Shannon Noe <snoe925@gmail.com> (maintainer) Changes: head/net/libnfs/Makefile head/net/libnfs/files/ head/net/libnfs/files/patch-include_nfsc_libnfs-zdr.h