Created attachment 208283 [details] patch Checking battery status uses x86-only headers and functions. Remove this functionality to get it to build on other architectures. Upstream PR: https://github.com/monero-project/monero/pull/5984
Comment on attachment 208283 [details] patch @Piotr, build fixes are: Approved by: portmgr (blanket: build fix) And don't require maintainer approval (assuming comprehensive QA: PASS)
Approved as mentor (built on ppcports) pending maintainer review.
Piotr, Approved! Notice - even if __amd64__ suffices for FreeBSD, it would be good to add the same patch to files/ as will be committed upstream to make conflict resolution with the next version more trivial. That is - add __x86_64__ as in the GitHub pull request. Thanks!
A commit references this bug: Author: pkubaj Date: Wed Oct 16 15:29:20 UTC 2019 New revision: 514600 URL: https://svnweb.freebsd.org/changeset/ports/514600 Log: net-p2p/monero-cli: fix build on non-x86 Checking battery status uses x86-only headers and functions. Remove this functionality to get it to build on other architectures. PR: 241230 Approved by: linimon (mentor), vd (maintainer) Pull Request: https://github.com/monero-project/monero/pull/5984 Differential Revision: https://reviews.freebsd.org/D22027 Changes: head/net-p2p/monero-cli/Makefile head/net-p2p/monero-cli/files/patch-src_cryptonote__basic_miner.cpp