From e6854adc42d0f97c5c02ce6002e7735bf89da9f7 Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Tue, 17 Dec 2024 21:02:46 +0100 Subject: [PATCH] wownero 0.11.3.0 --- Formula/w/wownero.rb | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/Formula/w/wownero.rb b/Formula/w/wownero.rb index b66052eae975c..ae91e1a6e8748 100644 --- a/Formula/w/wownero.rb +++ b/Formula/w/wownero.rb @@ -2,11 +2,10 @@ class Wownero < Formula desc "Official wallet and node software for the Wownero cryptocurrency" homepage "https://wownero.org" # TODO: Check if we can use unversioned `protobuf` at version bump - url "https://git.wownero.com/wownero/wownero.git", - tag: "v0.11.1.0", - revision: "1b8475003c065b0387f21323dad8a03b131ae7d1" + url "https://codeberg.org/wownero/wownero.git", + tag: "v0.11.3.0", + revision: "3e302be710f4e6b4f58642989c8e47711362fa56" license "BSD-3-Clause" - revision 5 # The `strategy` code below can be removed if/when this software exceeds # version 10.0.0. Until then, it's used to omit a malformed tag that would @@ -35,7 +34,7 @@ class Wownero < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "d08b8e26383ff1a7b709f65214b0f59505ca308f3b675bff55838c91de33a375" end - disable! date: "2025-05-11", because: "needs to use unmaintained `boost@1.85` and `protobuf@21`" + disable! date: "2025-05-11", because: "needs to use unmaintained `boost@1.85`" depends_on "cmake" => :build depends_on "miniupnpc" => :build @@ -45,7 +44,7 @@ class Wownero < Formula depends_on "libsodium" depends_on "libusb" depends_on "openssl@3" - depends_on "protobuf@21" + depends_on "protobuf" depends_on "readline" depends_on "unbound" depends_on "zeromq" @@ -53,19 +52,6 @@ class Wownero < Formula conflicts_with "monero", because: "both install a wallet2_api.h header" def install - # Work around build error with Boost 1.85.0. - # Reported to `monero` where issue needs to be fixed as `wownero` is a fork. - # Issue ref: https://github.com/monero-project/monero/issues/9304 - ENV.append "CXXFLAGS", "-include boost/numeric/conversion/bounds.hpp" - copy_option_files = %w[ - src/common/boost_serialization_helper.h - src/p2p/net_peerlist.cpp - src/wallet/wallet2.cpp - ] - inreplace copy_option_files, "boost::filesystem::copy_option::overwrite_if_exists", - "boost::filesystem::copy_options::overwrite_existing" - inreplace "src/simplewallet/simplewallet.cpp", "boost::filesystem::complete(", "boost::filesystem::absolute(" - # Need to help CMake find `readline` when not using /usr/local prefix args = %W[-DReadline_ROOT_DIR=#{Formula["readline"].opt_prefix}]