svn commit: r525170 - in head/sysutils/kio-fuse: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Feb 4 14:40:42 UTC 2020
Author: pkubaj
Date: Tue Feb 4 14:40:41 2020
New Revision: 525170
URL: https://svnweb.freebsd.org/changeset/ports/525170
Log:
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)
Added:
head/sysutils/kio-fuse/files/patch-kiofusevfs.cpp (contents, props changed)
Modified:
head/sysutils/kio-fuse/Makefile
Modified: head/sysutils/kio-fuse/Makefile
==============================================================================
--- head/sysutils/kio-fuse/Makefile Tue Feb 4 14:20:11 2020 (r525169)
+++ head/sysutils/kio-fuse/Makefile Tue Feb 4 14:40:41 2020 (r525170)
@@ -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
Added: head/sysutils/kio-fuse/files/patch-kiofusevfs.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/kio-fuse/files/patch-kiofusevfs.cpp Tue Feb 4 14:40:41 2020 (r525170)
@@ -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
More information about the svn-ports-all
mailing list