Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 06:43:28 GMT
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 545f8c39b075 - main - net-p2p/monero-cli: blind attempt to fix arm64 compilation
Message-ID:  <202203300643.22U6hSKM087325@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=545f8c39b075ede50648351b6b50834d0fb3c35a

commit 545f8c39b075ede50648351b6b50834d0fb3c35a
Author:     Vasil Dimov <vd@FreeBSD.org>
AuthorDate: 2022-03-30 06:32:11 +0000
Commit:     Vasil Dimov <vd@FreeBSD.org>
CommitDate: 2022-03-30 06:43:14 +0000

    net-p2p/monero-cli: blind attempt to fix arm64 compilation
---
 net-p2p/monero-cli/files/patch-src_crypto_slow-hash.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/net-p2p/monero-cli/files/patch-src_crypto_slow-hash.c b/net-p2p/monero-cli/files/patch-src_crypto_slow-hash.c
new file mode 100644
index 000000000000..dbdfbbc28236
--- /dev/null
+++ b/net-p2p/monero-cli/files/patch-src_crypto_slow-hash.c
@@ -0,0 +1,11 @@
+--- src/crypto/slow-hash.c.orig	2022-03-30 06:28:17 UTC
++++ src/crypto/slow-hash.c
+@@ -1102,7 +1102,7 @@ union cn_slow_hash_state
+  * and moving between vector and regular registers stalls the pipeline.
+  */
+ #include <arm_neon.h>
+-#ifndef __APPLE__
++#if !defined(__APPLE__) && !defined(__FreeBSD__)
+ #include <sys/auxv.h>
+ #include <asm/hwcap.h>
+ #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203300643.22U6hSKM087325>