git: 6ba4097fb640 - main - archivers/7-zip: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 21:46:10 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ba4097fb6408762693748bd5f8a9bb1e22ecbab commit 6ba4097fb6408762693748bd5f8a9bb1e22ecbab Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-09-05 00:21:26 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-09-05 21:46:03 +0000 archivers/7-zip: fix build on powerpc* ../../../../C/AesOpt.c:848:1: error: variable has incomplete type 'void' AES_COMPAT_STUB (AesCbc_Encode) ^ ../../../../C/AesOpt.c:844:5: note: expanded from macro 'AES_COMPAT_STUB' AES_FUNC_START(name); \ ^ ../../../../C/AesOpt.c:841:10: note: expanded from macro 'AES_FUNC_START' void MY_FAST_CALL name(UInt32 *p, Byte *data, size_t numBlocks) \ ^ --- archivers/7-zip/files/patch-C_AesOpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archivers/7-zip/files/patch-C_AesOpt.c b/archivers/7-zip/files/patch-C_AesOpt.c index 73889f4c4266..861b62e51b3d 100644 --- a/archivers/7-zip/files/patch-C_AesOpt.c +++ b/archivers/7-zip/files/patch-C_AesOpt.c @@ -1,4 +1,4 @@ ---- C/AesOpt.c.orig 2023-08-31 09:13:13 UTC +--- C/AesOpt.c.orig 2023-09-05 00:20:25 UTC +++ C/AesOpt.c @@ -554,7 +554,7 @@ VAES_COMPAT_STUB (AesCtr_Code_HW) #endif // ! USE_INTEL_VAES @@ -24,7 +24,7 @@ +#define AES_TYPE_data Byte + +#define AES_FUNC_START(name) \ -+ void MY_FAST_CALL name(UInt32 *p, Byte *data, size_t numBlocks) \ ++ void name(UInt32 *p, Byte *data, size_t numBlocks) \ + +#define AES_COMPAT_STUB(name) \ + AES_FUNC_START(name); \