git: a4fa61ce88d8 - main - games/xneko: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 22:58:45 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4fa61ce88d84897fc710fad6be51d8abf9cc606 commit a4fa61ce88d84897fc710fad6be51d8abf9cc606 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-12 22:38:31 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-12 22:58:35 +0000 games/xneko: Fix build with llvm15 - Adopt port --- games/xneko/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/games/xneko/Makefile b/games/xneko/Makefile index 61725300bce2..2d4a2a5069c2 100644 --- a/games/xneko/Makefile +++ b/games/xneko/Makefile @@ -6,7 +6,7 @@ CATEGORIES= games MASTER_SITES= LOCAL/dinoex DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= The classic cat-and-mouse NO_WRKSUBDIR= yes @@ -14,4 +14,10 @@ USES= imake xorg USE_XORG= x11 PLIST_FILES= bin/xneko man/man6/xneko.6.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + .include <bsd.port.mk>