Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2020 17:03:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247009] sysutils/kio-fuse: fix build on GCC architectures
Message-ID:  <bug-247009-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247009

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Created attachment 215261
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215261&action=
=3Dedit
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:23=
23:55:
error: 'ENODATA' was not declared in this scope
 2323 |   case KIO::ERR_NO_CONTENT                   : return ENODATA;
      |                                                       ^~~~~~~


Guard it behind ifdef.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247009-7788>