Skip to content

Commit

Permalink
wownero 0.11.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed Dec 18, 2024
1 parent f5457c9 commit 138486b
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions Formula/w/wownero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}]

Expand Down

0 comments on commit 138486b

Please sign in to comment.