summaryrefslogtreecommitdiff
path: root/net-p2p/litecoin/files
diff options
context:
space:
mode:
authorChristopher Hall <hsw@bitmark.com>2022-05-20 19:48:19 +0300
committerGleb Popov <arrowd@FreeBSD.org>2022-05-24 15:38:26 +0300
commit0f607032e9e535ab288eab5bfdb350df4ab521db (patch)
tree88f04201e4cfefb6859023eb46ab212fa4da8edc /net-p2p/litecoin/files
parentdevel/liblas: unbreak build after recent boost upgrade (+) (diff)
net-p2p/litecoin: update to 0.21.2
Summary: Update litecoin and associated ports to 0.21.2 Reviewed by: diizzy, arrowd Differential Revision: https://reviews.freebsd.org/D35210
Diffstat (limited to 'net-p2p/litecoin/files')
-rw-r--r--net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp b/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp
new file mode 100644
index 000000000000..89fcb9405a45
--- /dev/null
+++ b/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp
@@ -0,0 +1,15 @@
+--- src/libmw/deps/ghc/include/ghc/filesystem.hpp.orig 2022-05-14 10:57:56.053289000 +0000
++++ src/libmw/deps/ghc/include/ghc/filesystem.hpp 2022-05-14 10:58:38.778321000 +0000
+@@ -50,6 +50,12 @@
+
+ #if defined(__APPLE__) && defined(__MACH__)
+ #define GHC_OS_MACOS
++#elif defined(__FreeBSD__)
++// use FreeBSD int strerror_r() instead of GNU char *strerror_r()
++#define _POSIX_C_SOURCE 200112L
++#if defined(__clang__) && defined(_GNU_SOURCE)
++#undef _GNU_SOURCE
++#endif
+ #elif defined(__linux__)
+ #define GHC_OS_LINUX
+ #elif defined(_WIN64)