Page MenuHomeFreeBSD

D47700.id146829.diff
No OneTemporary

D47700.id146829.diff

diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile
--- a/net-p2p/litecoin/Makefile
+++ b/net-p2p/litecoin/Makefile
@@ -1,7 +1,7 @@
PORTNAME= litecoin
DISTVERSIONPREFIX= v
-DISTVERSION= 0.21.3
-PORTREVISION= 5
+DISTVERSION= 0.21.4
+PORTREVISION= 0
CATEGORIES= net-p2p finance
MAINTAINER= hsw@bitmark.com
@@ -10,8 +10,6 @@
LICENSE= MIT
-BROKEN= fails to build with boost-1.85+
-
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libfmt.so:devel/libfmt \
libevent.so:devel/libevent
diff --git a/net-p2p/litecoin/distinfo b/net-p2p/litecoin/distinfo
--- a/net-p2p/litecoin/distinfo
+++ b/net-p2p/litecoin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711952975
-SHA256 (litecoin-project-litecoin-v0.21.3_GH0.tar.gz) = e08642fb1d4ca3891981e6fd39f8c9fbc995d0db8b6b1c3f8f8671de8e120f9a
-SIZE (litecoin-project-litecoin-v0.21.3_GH0.tar.gz) = 6531067
+TIMESTAMP = 1731380372
+SHA256 (litecoin-project-litecoin-v0.21.4_GH0.tar.gz) = ba0922213f69c1b1a1d6c3441c5ea3696b538437533555ab74268f075f0de5d3
+SIZE (litecoin-project-litecoin-v0.21.4_GH0.tar.gz) = 6533051
diff --git a/net-p2p/litecoin/files/patch-src_httpserver.cpp b/net-p2p/litecoin/files/patch-src_httpserver.cpp
--- a/net-p2p/litecoin/files/patch-src_httpserver.cpp
+++ b/net-p2p/litecoin/files/patch-src_httpserver.cpp
@@ -1,6 +1,6 @@
---- src/httpserver.cpp.orig 2019-12-18 12:22:29 UTC
+--- src/httpserver.cpp.orig 2024-10-13 21:23:05 UTC
+++ src/httpserver.cpp
-@@ -30,6 +30,7 @@
+@@ -32,6 +32,7 @@
#include <event2/keyvalq_struct.h>
#include <support/events.h>
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
--- 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
@@ -1,5 +1,5 @@
---- 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
+--- src/libmw/deps/ghc/include/ghc/filesystem.hpp.orig 2024-10-13 21:23:05 UTC
++++ src/libmw/deps/ghc/include/ghc/filesystem.hpp
@@ -50,6 +50,12 @@
#if defined(__APPLE__) && defined(__MACH__)
diff --git a/net-p2p/litecoin/files/patch-src_wallet_bdb.cpp b/net-p2p/litecoin/files/patch-src_wallet_bdb.cpp
new file mode 100644
--- /dev/null
+++ b/net-p2p/litecoin/files/patch-src_wallet_bdb.cpp
@@ -0,0 +1,11 @@
+--- src/wallet/bdb.cpp 2024-03-28 17:05:26.000000000 +0000
++++ src/wallet/bdb.cpp 2024-11-20 13:23:51.628575000 +0000
+@@ -627,7 +627,7 @@
+ return false;
+ }
+
+- fs::copy_file(pathSrc, pathDest, fs::copy_option::overwrite_if_exists);
++ fs::copy_file(pathSrc, pathDest, fs::copy_options::overwrite_existing);
+ LogPrintf("copied %s to %s\n", strFile, pathDest.string());
+ return true;
+ } catch (const fs::filesystem_error& e) {
diff --git a/net-p2p/litecoin/files/patch-src_wallet_walletutil.cpp b/net-p2p/litecoin/files/patch-src_wallet_walletutil.cpp
new file mode 100644
--- /dev/null
+++ b/net-p2p/litecoin/files/patch-src_wallet_walletutil.cpp
@@ -0,0 +1,20 @@
+--- src/wallet/walletutil.cpp 2024-03-28 17:05:26.000000000 +0000
++++ src/wallet/walletutil.cpp 2024-11-20 13:28:06.157704000 +0000
+@@ -58,7 +58,7 @@
+ (ExistsBerkeleyDatabase(it->path()) || ExistsSQLiteDatabase(it->path()))) {
+ // Found a directory which contains wallet.dat btree file, add it as a wallet.
+ paths.emplace_back(path);
+- } else if (it.level() == 0 && it->symlink_status().type() == fs::regular_file && ExistsBerkeleyDatabase(it->path())) {
++ } else if (it.depth() == 0 && it->symlink_status().type() == fs::regular_file && ExistsBerkeleyDatabase(it->path())) {
+ if (it->path().filename() == "wallet.dat") {
+ // Found top-level wallet.dat btree file, add top level directory ""
+ // as a wallet.
+@@ -73,7 +73,7 @@
+ }
+ } catch (const std::exception& e) {
+ LogPrintf("%s: Error scanning %s: %s\n", __func__, it->path().string(), e.what());
+- it.no_push();
++ it.disable_recursion_pending();
+ }
+ }
+

File Metadata

Mime Type
text/plain
Expires
Sun, May 17, 4:33 PM (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33198878
Default Alt Text
D47700.id146829.diff (4 KB)

Event Timeline