Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 10:50: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: ab19dba754da - main - security/mate-pam-helper: Fix build with llvm16
Message-ID:  <202307231050.36NAoO2k005503@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=ab19dba754dafda801bc92348a01257804adc1d2

commit ab19dba754dafda801bc92348a01257804adc1d2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 08:51:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 10:50:16 +0000

    security/mate-pam-helper: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 security/mate-pam-helper/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/security/mate-pam-helper/Makefile b/security/mate-pam-helper/Makefile
index 58d26bce1548..46ef0b1c5dad 100644
--- a/security/mate-pam-helper/Makefile
+++ b/security/mate-pam-helper/Makefile
@@ -15,4 +15,10 @@ GH_ACCOUNT=	GhostBSD
 
 PLIST_FILES=	bin/mate_pam_helper
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=unused-but-set-variable
+.endif
+
 .include <bsd.port.mk>



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