Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 20:45:47 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: 4e1f0349cb85 - main - games/xjewel: Fix build with llvm15
Message-ID:  <202306062045.356KjlBr026147@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=4e1f0349cb85c882be7a0f19c28a5a0cb2ff2048

commit 4e1f0349cb85c882be7a0f19c28a5a0cb2ff2048
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 20:03:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 20:45:26 +0000

    games/xjewel: Fix build with llvm15
    
    - Adopt port
---
 games/xjewel/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index 153255fb2925..54d713227730 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	games
 MASTER_SITES=	XCONTRIB/../R5contrib
 EXTRACT_SUFX=	.tar.z
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	X11 dropping jewels game
 
 BUILD_DEPENDS=	bdftopcf:x11-fonts/bdftopcf \
@@ -16,9 +16,15 @@ USE_XORG=	x11 xext
 
 DESKTOP_ENTRIES="XJewel" "" "" "${PORTNAME}" "" ""
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${FONTSDIR}
 	(cd ${WRKSRC}/bitmaps && ${INSTALL_DATA} seven_seg.pcf.gz \
 		${STAGEDIR}${FONTSDIR})
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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