Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 17:14:26 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: cea999c5ffa6 - main - games/xmille: Fix build with llvm15
Message-ID:  <202306101714.35AHEQ9m082786@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=cea999c5ffa60cc29ef9589e8fb75d699d3af209

commit cea999c5ffa60cc29ef9589e8fb75d699d3af209
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-10 17:13:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-10 17:14:08 +0000

    games/xmille: Fix build with llvm15
    
    - Pet portclippy
---
 games/xmille/Makefile | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/games/xmille/Makefile b/games/xmille/Makefile
index b4a820a2e7d5..16ce68a7d218 100644
--- a/games/xmille/Makefile
+++ b/games/xmille/Makefile
@@ -8,14 +8,25 @@ DISTNAME=	${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	X window mille bourne game
 
-WRKSRC=		${WRKDIR}/Mille
+LICENSE=	NONE
 
 USES=		imake xorg
 USE_XORG=	x11 xext
-PLIST_FILES=	bin/xmille man/man1/xmille.1.gz
+
 MAKE_JOBS_UNSAFE=	yes
+
 CFLAGS+=	-Wno-error=return-type
 
+WRKSRC=		${WRKDIR}/Mille
+
+PLIST_FILES=	bin/xmille man/man1/xmille.1.gz
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-extract:
 	@${FIND} ${WRKSRC} -name '*.[ao]' -delete
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306101714.35AHEQ9m082786>