[Bug 247009] sysutils/kio-fuse: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 5 18:03:09 BST 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247009

            Bug ID: 247009
           Summary: sysutils/kio-fuse: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 215261
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215261&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list