Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 00:16:41 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 3c65822aeba4 - 2025Q1 - emulators/rpcs3: unbreak aarch64 build after a036b104b872
Message-ID:  <202501230016.50N0GfDc089952@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2025Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c65822aeba4dc699395e7039abbb256e3da1385

commit 3c65822aeba4dc699395e7039abbb256e3da1385
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:16:13 +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
    
    (cherry picked from commit 91e4d1cd95968d2db3e84d73592e8e71a73b077a)
---
 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)



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