1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/sysutils/kio-fuse
Piotr Kubaj 51b35c7f22 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)
2020-06-05 20:46:32 +00:00
..
files
distinfo
Makefile
pkg-descr