Index: head/net-p2p/monero-cli/Makefile =================================================================== --- head/net-p2p/monero-cli/Makefile +++ head/net-p2p/monero-cli/Makefile @@ -16,11 +16,7 @@ LICENSE= BSD3CLAUSE -BROKEN_aarch64= fails to compile: the clang compiler does not support -march=native -BROKEN_armv6= fails to compile: the clang compiler does not support -march=native -BROKEN_armv7= fails to compile: the clang compiler does not support -march=native BROKEN_i386= fails to compile: register r15d is only available in 64-bit mode -BROKEN_powerpc64= fails to compile: the clang compiler does not support -march=native LIB_DEPENDS= \ libboost_chrono.so:devel/boost-libs \ Index: head/net-p2p/monero-cli/files/patch-src_cryptonote__basic_miner.cpp =================================================================== --- head/net-p2p/monero-cli/files/patch-src_cryptonote__basic_miner.cpp +++ head/net-p2p/monero-cli/files/patch-src_cryptonote__basic_miner.cpp @@ -0,0 +1,28 @@ +--- src/cryptonote_basic/miner.cpp.orig 2019-10-13 11:25:19 UTC ++++ src/cryptonote_basic/miner.cpp +@@ -61,7 +61,9 @@ + #include + #include + #include ++#if defined(__amd64__ ) || defined(__i386__) || defined(__x86_64__) + #include ++#endif + #include + #include + #include +@@ -1082,6 +1084,7 @@ namespace cryptonote + return boost::logic::tribool(boost::logic::indeterminate); + } + ++#if defined(__amd64__ ) || defined(__i386__) || defined(__x86_64__) + apm_info info; + if( ioctl(fd, APMIO_GETINFO, &info) == -1 ) { + close(fd); +@@ -1116,6 +1119,7 @@ namespace cryptonote + << "unexpected ac-line status (" << info.ai_acline << ") and " + << "battery status (" << info.ai_batt_stat << ")."); + return boost::logic::tribool(boost::logic::indeterminate); ++#endif + } + if( n != sizeof(ac) ) + {