Date: Mon, 5 Jun 2023 14:23:56 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1045cc9d88ab - main - astro/foxtrotgps: Fix build with llvm15 Message-ID: <202306051423.355ENunt000887@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1045cc9d88ab265071d70b86260ba7462a3079ee commit 1045cc9d88ab265071d70b86260ba7462a3079ee Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-05 12:54:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-05 14:23:44 +0000 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 <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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306051423.355ENunt000887>