Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 18:07:04 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: d7129dafba05 - main - misc/rump: Fix build with llvm15
Message-ID:  <202306031807.353I74XA018956@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=d7129dafba05c255dc0db214c264f69a110fad0c

commit d7129dafba05c255dc0db214c264f69a110fad0c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 18:01:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 18:03:24 +0000

    misc/rump: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 misc/rump/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/misc/rump/Makefile b/misc/rump/Makefile
index 84884a90e77c..eaf99b332bf8 100644
--- a/misc/rump/Makefile
+++ b/misc/rump/Makefile
@@ -22,6 +22,10 @@ USES=		compiler
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=strict-prototypes -Wno-error=array-parameter
+.endif
+
 .if ${ARCH} == amd64 || ${ARCH} == i386
 PLIST_SUB+=	X8664=""
 .else



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