Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 22:58:52 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: 470acdeabc3b - main - net/owamp: Fix build with llvm15
Message-ID:  <202306122258.35CMwqLg087383@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=470acdeabc3b7f6e1090cb44747c264aa8e73842

commit 470acdeabc3b7f6e1090cb44747c264aa8e73842
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 22:57:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:37 +0000

    net/owamp: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 net/owamp/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/owamp/Makefile b/net/owamp/Makefile
index 0e42b00f76e2..060efaff951b 100644
--- a/net/owamp/Makefile
+++ b/net/owamp/Makefile
@@ -11,4 +11,10 @@ LICENSE=	APACHE20
 
 GNU_CONFIGURE=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .include <bsd.port.mk>



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