Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 18:09:10 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: f3d6ebd7280f - main - devel/libfortuna: Fix build with llvm15
Message-ID:  <202306051809.355I9AaV067478@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=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>



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