git: 4082c1623618 - main - math/scilab: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 May 2023 04:53:22 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4082c1623618a68ed6278a25b6c77389a6e3490c

commit 4082c1623618a68ed6278a25b6c77389a6e3490c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-17 04:52:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-17 04:53:04 +0000

    math/scilab: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 math/scilab/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index d5b2986edc97..3eb274c15f89 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -132,6 +132,10 @@ CONFIGURE_ARGS+=	--enable-debug
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .if ${GCC_DEFAULT} >= 10
 # workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
 FFLAGS+=	-fallow-argument-mismatch