sysutils/kio-fuse: fix build on GCC architectures

As usual, C++11 compiler is necessary.

Another issue is that ENODATA is not defined on GCC systems. Include boost/cerrno.hpp (boost is already indirect dependency) to have this macro.

PR:		243870
Approved by:	adridg (maintainer)
This commit is contained in:
Piotr Kubaj 2020-02-04 14:40:41 +00:00
parent 888f81fab8
commit 60fa08bde3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525170
2 changed files with 12 additions and 1 deletions

View file

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfuse3.so:sysutils/fusefs-libs3
USES= cmake kde:5 pkgconfig qt:5
USES= cmake compiler:c++11-lang kde:5 pkgconfig qt:5
USE_KDE= config coreaddons kio service
USE_QT= concurrent core dbus network \
buildtools_build qmake_build

View file

@ -0,0 +1,11 @@
--- kiofusevfs.cpp.orig 2020-02-04 12:37:00 UTC
+++ kiofusevfs.cpp
@@ -43,6 +43,8 @@
#include "debug.h"
#include "kiofusevfs.h"
+#include <boost/cerrno.hpp>
+
// Flags that don't exist on FreeBSD; since these are used as
// bit(masks), setting them to 0 effectively means they're always unset.
#ifndef O_NOATIME