aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-12 22:38:31 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-12 22:58:35 +0000
commita4fa61ce88d84897fc710fad6be51d8abf9cc606 (patch)
treec078cb7358c07b6837b0f620ad7b6b3b47e2924e
parent12e0c85984acfd5dce03de0026ca40c319b9ca27 (diff)
downloadports-a4fa61ce88d84897fc710fad6be51d8abf9cc606.tar.gz
ports-a4fa61ce88d84897fc710fad6be51d8abf9cc606.zip
games/xneko: Fix build with llvm15
- Adopt port
-rw-r--r--games/xneko/Makefile8
1 files changed, 7 insertions, 1 deletions
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>