git: 478a7d2b4417 - main - games/spider: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 15:39:05 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=478a7d2b44172c85cfb497451660008f7446d355 commit 478a7d2b44172c85cfb497451660008f7446d355 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 14:55:24 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 15:38:52 +0000 games/spider: Fix build on llvm15 - Adopt port --- games/spider/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/games/spider/Makefile b/games/spider/Makefile index b1845f12524c..28fb48d306af 100644 --- a/games/spider/Makefile +++ b/games/spider/Makefile @@ -5,7 +5,7 @@ CATEGORIES= games MASTER_SITES= SUNSITE/games/solitaires DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Challenging double decked solitaire game LICENSE= Spider @@ -16,7 +16,15 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= imake tar:Z xorg USE_XORG= x11 xext xaw xmu xt sm ice xpm + INSTALL_TARGET= install install.doc + CFLAGS+= -Wno-error=return-type -.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>