git: d7129dafba05 - main - misc/rump: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 18:07:04 UTC
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