Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 17:54:31 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: 21f76e1e6706 - main - security/pam_ocra: Fix build with llvm16
Message-ID:  <202307231754.36NHsVIm007347@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=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>



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