git: 1f8d09172023 - main - misc/far2l: try to unbreak the port's build on AArch64

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 09:08:07 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f8d0917202365b4cf7cb03346231f2358532ba3

commit 1f8d0917202365b4cf7cb03346231f2358532ba3
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-03-31 09:07:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-03-31 09:07:08 +0000

    misc/far2l: try to unbreak the port's build on AArch64
    
    Nagged by:      pkg-fallout
---
 misc/far2l/files/patch-multiarc_src_formats_7z_C_AesOpt.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/misc/far2l/files/patch-multiarc_src_formats_7z_C_AesOpt.c b/misc/far2l/files/patch-multiarc_src_formats_7z_C_AesOpt.c
new file mode 100644
index 000000000000..e2f318f57b1c
--- /dev/null
+++ b/misc/far2l/files/patch-multiarc_src_formats_7z_C_AesOpt.c
@@ -0,0 +1,12 @@
+--- multiarc/src/formats/7z/C/AesOpt.c.orig	2023-01-14 23:53:02 UTC
++++ multiarc/src/formats/7z/C/AesOpt.c
+@@ -537,7 +537,8 @@ VAES_COMPAT_STUB (AesCtr_Code_HW)
+ 
+ #if defined(__clang__) || defined(__GNUC__)
+   #ifdef MY_CPU_ARM64
+-    #define ATTRIB_AES __attribute__((__target__("+crypto")))
++    #define __ARM_FEATURE_AES
++    #define ATTRIB_AES __attribute__((__target__("aes")))
+   #else
+     #define ATTRIB_AES __attribute__((__target__("fpu=crypto-neon-fp-armv8")))
+   #endif