Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 14:46:11 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: 8ae19b07fdb5 - main - sysutils/gstopd: Fix build with llvm16
Message-ID:  <202307241446.36OEkBDW080162@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=8ae19b07fdb52d941ab7b00e14a49a3718e5b0d1

commit 8ae19b07fdb52d941ab7b00e14a49a3718e5b0d1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 13:58:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 14:46:02 +0000

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

diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile
index 56de024263d3..607c8488975f 100644
--- a/sysutils/gstopd/Makefile
+++ b/sysutils/gstopd/Makefile
@@ -8,6 +8,12 @@ COMMENT=	GEOM stop daemon
 
 PLIST_FILES=	sbin/gstopd man/man8/gstopd.8.gz
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=unused-but-set-variable
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gstopd ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${STAGEDIR}${PREFIX}/man/man8



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