aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-05-17 15:27:24 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2021-05-17 15:27:24 +0000
commit2c7f7c36dcfd4984c83e1fe34dbbb4fbef2a4ace (patch)
treeddc452aeb98cd5efc1d897603b456189e860f1ee
parentd0fea993410c6d47f24e2fba001dce046a0a38b1 (diff)
downloadports-2c7f7c36dcfd4984c83e1fe34dbbb4fbef2a4ace.tar.gz
ports-2c7f7c36dcfd4984c83e1fe34dbbb4fbef2a4ace.zip
net-p2p/xmrig: Fix build on aarch64
PR: 255917
-rw-r--r--net-p2p/xmrig/Makefile4
-rw-r--r--net-p2p/xmrig/distinfo4
2 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/xmrig/Makefile b/net-p2p/xmrig/Makefile
index 0b4c9eb27881..527053948fd8 100644
--- a/net-p2p/xmrig/Makefile
+++ b/net-p2p/xmrig/Makefile
@@ -5,13 +5,15 @@ PORTVERSION= 6.12.1
DISTVERSIONPREFIX= v
CATEGORIES= net-p2p
+PATCH_SITES= https://github.com/xmrig/xmrig/commit/
+PATCHFILES= 27ced139a619dcbc6a81de897b1045a3852cbee9.patch:-p1
+
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= High performance Monero (XMR) CPU miner
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_aarch64= fails to compile: src/common/cpu/BasicCpuInfo_arm.cpp:30:13: fatal error: 'asm/hwcap.h' file not found
BROKEN_powerpc64= fails to compile: g++9: error: unrecognized command line option '-maes'; did you mean '-mads'?
BROKEN_riscv64= fails to compile: /nxb-bin/usr/lib/clang/11.0.0/include/cpuid.h:11:2: error: this header is for x86 only
diff --git a/net-p2p/xmrig/distinfo b/net-p2p/xmrig/distinfo
index d627c93a436c..3292e8438e41 100644
--- a/net-p2p/xmrig/distinfo
+++ b/net-p2p/xmrig/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1619190156
+TIMESTAMP = 1621172279
SHA256 (xmrig-xmrig-v6.12.1_GH0.tar.gz) = 7570030c4b3e257bda190a100dc59f78b74c823af7561222a99b296f5e7b1ac2
SIZE (xmrig-xmrig-v6.12.1_GH0.tar.gz) = 1626568
+SHA256 (27ced139a619dcbc6a81de897b1045a3852cbee9.patch) = 4b1f66574875056f4da32000b07b5f422e05332dea386faa580843ca7bb1e4ef
+SIZE (27ced139a619dcbc6a81de897b1045a3852cbee9.patch) = 1498