git: 470acdeabc3b - main - net/owamp: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 12 Jun 2023 22:58:52 UTC
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>