git: f3d6ebd7280f - main - devel/libfortuna: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:09:10 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d6ebd7280f0069a8da7fac2d729537fdce5473 commit f3d6ebd7280f0069a8da7fac2d729537fdce5473 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-05 15:41:01 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-05 18:09:00 +0000 devel/libfortuna: Fix build with llvm15 Approved by: portmgr (blanket) --- devel/libfortuna/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/libfortuna/Makefile b/devel/libfortuna/Makefile index 34c090460237..d6ebd45b0331 100644 --- a/devel/libfortuna/Makefile +++ b/devel/libfortuna/Makefile @@ -14,4 +14,10 @@ USE_LDCONFIG= yes GH_ACCOUNT= waitman GH_TAGNAME= 11cbd88 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=array-parameter +.endif + +.include <bsd.port.post.mk>