git: 21f76e1e6706 - main - security/pam_ocra: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 17:54:31 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=21f76e1e6706e5cd9f79acac974d5e77cee5f7c5 commit 21f76e1e6706e5cd9f79acac974d5e77cee5f7c5 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 17:17:18 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 17:54:17 +0000 security/pam_ocra: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/pam_ocra/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security/pam_ocra/Makefile b/security/pam_ocra/Makefile index 219da7af07dc..ebca30991ee4 100644 --- a/security/pam_ocra/Makefile +++ b/security/pam_ocra/Makefile @@ -22,4 +22,10 @@ PLIST_FILES= lib/pam_ocra.so \ man/man8/pam_ocra.8.gz \ man/man8/ocra_tool.8.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=cast-align +.endif + .include <bsd.port.mk>