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:
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
|
@ -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
|
||||
|
|
11
sysutils/kio-fuse/files/patch-kiofusevfs.cpp
Normal file
11
sysutils/kio-fuse/files/patch-kiofusevfs.cpp
Normal 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
|
Loading…
Reference in a new issue