git: 172c0c5438a6 - main - mail/rmilter: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 15:25:24 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=172c0c5438a6f66524a6cfc99e5890aefe83ebcc commit 172c0c5438a6f66524a6cfc99e5890aefe83ebcc Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-07 15:04:03 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-07 15:24:45 +0000 mail/rmilter: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/rmilter/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail/rmilter/Makefile b/mail/rmilter/Makefile index f678a5f626a0..059e4d665309 100644 --- a/mail/rmilter/Makefile +++ b/mail/rmilter/Makefile @@ -45,6 +45,9 @@ WITHOUT_MILTER_LDFLAGS= yes post-patch: ${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/freebsd/rmilter > ${WRKDIR}/rmilter + @${REINPLACE_CMD} -E 's|BLAKE2_ALIGN\( 64 \) typedef struct __blake2b_state|typedef struct BLAKE2_ALIGN\( 64 \) __blake2b_state|g; \ + s|BLAKE2_ALIGN\( 64 \) typedef struct __blake2s_state|typedef struct BLAKE2_ALIGN\( 64 \) __blake2s_state|g' \ + ${WRKSRC}/compat/blake2.h do-install: ${INSTALL_SCRIPT} ${WRKDIR}/rmilter ${STAGEDIR}${PREFIX}/etc/rc.d/