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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 5 21:46:45 BST 2020


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

--- Comment #2 from commit-hook at freebsd.org ---
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

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


More information about the kde-freebsd mailing list