summaryrefslogtreecommitdiff
path: root/devel/doxygen/patches/patch-filesystem_filesystem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/doxygen/patches/patch-filesystem_filesystem.hpp')
-rw-r--r--devel/doxygen/patches/patch-filesystem_filesystem.hpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/devel/doxygen/patches/patch-filesystem_filesystem.hpp b/devel/doxygen/patches/patch-filesystem_filesystem.hpp
index 1e13eeeeef9..bc29387a22e 100644
--- a/devel/doxygen/patches/patch-filesystem_filesystem.hpp
+++ b/devel/doxygen/patches/patch-filesystem_filesystem.hpp
@@ -1,11 +1,19 @@
-$NetBSD: patch-filesystem_filesystem.hpp,v 1.1 2021/12/13 13:47:06 micha Exp $
+$NetBSD: patch-filesystem_filesystem.hpp,v 1.2 2022/03/26 21:10:59 tnn Exp $
Disable use of experimental compiler features.
Failed with GCC 7.4.0 on NetBSD.
--- filesystem/filesystem.hpp.orig 2021-05-24 09:14:03.505674000 +0000
+++ filesystem/filesystem.hpp
-@@ -238,6 +238,7 @@
+@@ -69,6 +69,7 @@
+ #define GHC_OS_CYGWIN
+ #elif defined(__svr4__)
+ #define GHC_OS_SYS5R4
++#define GHC_NO_DIRENT_D_TYPE
+ #elif defined(BSD)
+ #define GHC_OS_BSD
+ #elif defined(__EMSCRIPTEN__)
+@@ -238,6 +239,7 @@
#define GHC_HAS_STD_STRING_VIEW
#endif
@@ -13,7 +21,7 @@ Failed with GCC 7.4.0 on NetBSD.
// Standard library support for std::experimental::string_view.
#if defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 3700 && _LIBCPP_VERSION < 7000) && (__cplusplus >= 201402)
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
-@@ -247,6 +248,7 @@
+@@ -247,6 +249,7 @@
// macro _GLIBCXX_USE_DUAL_ABI is always defined in libstdc++ from gcc-5 and newer
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
#endif