git: f4074315f467 - main - net/suckblow: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 14:09:05 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f4074315f467154d3b5d78c31ccdde0f6c54529c
commit f4074315f467154d3b5d78c31ccdde0f6c54529c
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 13:45:47 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 14:08:48 +0000
net/suckblow: Fix build on llvm15
---
net/suckblow/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net/suckblow/Makefile b/net/suckblow/Makefile
index 977582692f1a..42e033eaa97f 100644
--- a/net/suckblow/Makefile
+++ b/net/suckblow/Makefile
@@ -9,4 +9,10 @@ COMMENT= Two companion utilities for transferring data over a TCP socket
USES= uidfix
CONFLICTS= suck-4.* suck-cnews-4.*
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>