git: 91e4d1cd9596 - main - emulators/rpcs3: unbreak aarch64 build after a036b104b872
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jan 2025 00:16:13 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=91e4d1cd95968d2db3e84d73592e8e71a73b077a
commit 91e4d1cd95968d2db3e84d73592e8e71a73b077a
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-01-22 22:35:39 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-01-23 00:15:01 +0000
emulators/rpcs3: unbreak aarch64 build after a036b104b872
3rdparty/wolfssl/wolfssl/wolfcrypt/src/cpuid.c:262:28: error: use of undeclared identifier 'CPUID_AARCH64_FEAT_PMULL'
if (features & CPUID_AARCH64_FEAT_PMULL)
^
Reported by: pkg-fallout
---
emulators/rpcs3/files/patch-wolfssl | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/emulators/rpcs3/files/patch-wolfssl b/emulators/rpcs3/files/patch-wolfssl
new file mode 100644
index 000000000000..c736ccef7dc1
--- /dev/null
+++ b/emulators/rpcs3/files/patch-wolfssl
@@ -0,0 +1,16 @@
+https://github.com/wolfSSL/wolfssl/commit/197a7e0ba386
+
+--- 3rdparty/wolfssl/wolfssl/wolfcrypt/src/cpuid.c.orig 2024-12-31 17:58:22 UTC
++++ 3rdparty/wolfssl/wolfssl/wolfcrypt/src/cpuid.c
+@@ -259,8 +259,10 @@
+
+ if (features & CPUID_AARCH64_FEAT_AES)
+ cpuid_flags |= CPUID_AES;
+- if (features & CPUID_AARCH64_FEAT_PMULL)
++ if (features & CPUID_AARCH64_FEAT_AES_PMULL) {
++ cpuid_flags |= CPUID_AES;
+ cpuid_flags |= CPUID_PMULL;
++ }
+ if (features & CPUID_AARCH64_FEAT_SHA256)
+ cpuid_flags |= CPUID_SHA256;
+ if (features & CPUID_AARCH64_FEAT_SHA256_512)