git: 5e86db3d6131 - main - net/libexosip2: Fix BUILD on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 14:07:15 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e86db3d6131338f00b9b7ad02597aa5863aeb9b

commit 5e86db3d6131338f00b9b7ad02597aa5863aeb9b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-24 14:06:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-24 14:07:04 +0000

    net/libexosip2: Fix BUILD on HEAD
---
 net/libexosip2/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/libexosip2/Makefile b/net/libexosip2/Makefile
index 1685a4381329..6a4b7c1fa406 100644
--- a/net/libexosip2/Makefile
+++ b/net/libexosip2/Makefile
@@ -26,4 +26,10 @@ PLIST_SUB+=	SHLIB_VER=${SHLIB_VER}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .include <bsd.port.mk>