git: 52b6e58dc890 - main - biology/biosig: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 18:36:17 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52b6e58dc8906e9e186219987575248c259d9caf

commit 52b6e58dc8906e9e186219987575248c259d9caf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 16:46:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 18:36:06 +0000

    biology/biosig: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 biology/biosig/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile
index 702bacd9e0d5..d735cfd16f67 100644
--- a/biology/biosig/Makefile
+++ b/biology/biosig/Makefile
@@ -28,9 +28,15 @@ CFLAGS+=	-D__BYTE_ORDER=BYTE_ORDER -D__LITTLE_ENDIAN=LITTLE_ENDIAN -D__BIG_ENDIA
 		-Dbswap_16=bswap16 -Dbswap_32=bswap32 -Dbswap_64=bswap64
 LDFLAGS+=	-liconv
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 .for f in bin/biosig_fhir bin/biosig2gdf bin/physicalunits bin/save2gdf lib/libbiosig.so.3
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f}
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>