git: 545f8c39b075 - main - net-p2p/monero-cli: blind attempt to fix arm64 compilation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 06:43:28 UTC
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