git: 2c7f7c36dcfd - main - net-p2p/xmrig: Fix build on aarch64

Emanuel Haupt ehaupt at FreeBSD.org
Mon May 17 15:28:22 UTC 2021


The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c7f7c36dcfd4984c83e1fe34dbbb4fbef2a4ace

commit 2c7f7c36dcfd4984c83e1fe34dbbb4fbef2a4ace
Author:     Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-05-17 15:27:24 +0000
Commit:     Emanuel Haupt <ehaupt at FreeBSD.org>
CommitDate: 2021-05-17 15:27:24 +0000

    net-p2p/xmrig: Fix build on aarch64
    
    PR:             255917
---
 net-p2p/xmrig/Makefile | 4 +++-
 net-p2p/xmrig/distinfo | 4 +++-
 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 at 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


More information about the dev-commits-ports-all mailing list