Created attachment 215261 [details] patch ENODATA is not defined on GCC systems: /wrkdirs/usr/ports/sysutils/kio-fuse/work/kio-fuse-4.95.0/kiofusevfs.cpp: In static member function 'static int KIOFuseVFS::kioErrorToFuseError(int)': /wrkdirs/usr/ports/sysutils/kio-fuse/work/kio-fuse-4.95.0/kiofusevfs.cpp:2323:55: error: 'ENODATA' was not declared in this scope 2323 | case KIO::ERR_NO_CONTENT : return ENODATA; | ^~~~~~~ Guard it behind ifdef.
Ship it.
A commit references this bug: Author: pkubaj Date: Fri Jun 5 20:46:33 UTC 2020 New revision: 538056 URL: https://svnweb.freebsd.org/changeset/ports/538056 Log: sysutils/kio-fuse: fix build on GCC architectures ENODATA is not defined on GCC systems: /wrkdirs/usr/ports/sysutils/kio-fuse/work/kio-fuse-4.95.0/kiofusevfs.cpp: In static member function 'static int KIOFuseVFS::kioErrorToFuseError(int)': /wrkdirs/usr/ports/sysutils/kio-fuse/work/kio-fuse-4.95.0/kiofusevfs.cpp:2323:55: error: 'ENODATA' was not declared in this scope 2323 | case KIO::ERR_NO_CONTENT : return ENODATA; Guard it behind ifdef. PR: 247009 Approved by: tcberner (maintainer) Changes: head/sysutils/kio-fuse/files/patch-kiofusevfs.cpp