From 1045cc9d88ab265071d70b86260ba7462a3079ee Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Mon, 5 Jun 2023 14:54:57 +0200 Subject: [PATCH] astro/foxtrotgps: Fix build with llvm15 Approved by: portmgr (blanket) --- astro/foxtrotgps/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/astro/foxtrotgps/Makefile b/astro/foxtrotgps/Makefile index 0d92867d44fe..21b3a0d89fec 100644 --- a/astro/foxtrotgps/Makefile +++ b/astro/foxtrotgps/Makefile @@ -36,4 +36,10 @@ CONFIGURE_ENV= DATADIRNAME=share INFO= foxtrotgps -.include +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include