git: 16c5522532a6 - main - security/asignify: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 15:25:15 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16c5522532a66009f7ae2ec7a17a2719a3acd776

commit 16c5522532a66009f7ae2ec7a17a2719a3acd776
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 12:45:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 15:24:43 +0000

    security/asignify: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 security/asignify/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/security/asignify/Makefile b/security/asignify/Makefile
index 37ed0d48ba48..c01837315fbf 100644
--- a/security/asignify/Makefile
+++ b/security/asignify/Makefile
@@ -10,9 +10,14 @@ WWW=		https://github.com/vstakhov/asignify/
 LICENSE=	BSD2CLAUSE
 
 USES=		tar:xz libtool
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+
 INSTALL_TARGET=	install-strip
 
+post-patch:
+	@${REINPLACE_CMD} -E 's|BLAKE_ALIGN\( 64 \) typedef struct __blake2b_state|typedef struct BLAKE_ALIGN\( 64 \) __blake2b_state|g' \
+		${WRKSRC}/libasignify/blake2.h
+
 .include <bsd.port.mk>