Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 23:52:45 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: f518674ae516 - main - devel/replay: Fix build with llvm16
Message-ID:  <202308062352.376NqjMX075568@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=f518674ae516244e2d95f35f3a465e8584f0e28c

commit f518674ae516244e2d95f35f3a465e8584f0e28c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 23:48:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 23:52:29 +0000

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

diff --git a/devel/replay/Makefile b/devel/replay/Makefile
index 1ac673f82834..4ca00145d8f5 100644
--- a/devel/replay/Makefile
+++ b/devel/replay/Makefile
@@ -12,4 +12,10 @@ MAKE_ENV=	WITHOUT_MAN=yes
 
 PLIST_FILES=	bin/replay
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+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?202308062352.376NqjMX075568>