Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:55:57 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: a78e59efb10f - main - games/awele: Fix build with llvm16
Message-ID:  <202308051855.375Itvtu075709@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=a78e59efb10f0303196bd78c93c5fad5885389f6

commit a78e59efb10f0303196bd78c93c5fad5885389f6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 18:17:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 18:55:49 +0000

    games/awele: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 games/awele/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/games/awele/Makefile b/games/awele/Makefile
index 95392fdfb5fc..6a14470da605 100644
--- a/games/awele/Makefile
+++ b/games/awele/Makefile
@@ -12,10 +12,17 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		imake tk tar:tgz xorg
 USE_XORG=	x11
+
 MAKE_ARGS=	AWELE_DIR=${STAGEDIR}${PREFIX}/bin
 
 PLIST_FILES=	bin/awelewish bin/xawele man/man6/xawele.6.gz
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|%%LOCALBASE%%|${LOCALBASE}|; \



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