Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 15:25:24 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 172c0c5438a6 - main - mail/rmilter: Fix build with llvm16
Message-ID:  <202308071525.377FPOS1026892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



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