git: fa644dd7b7f8 - main - games/alephone: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jun 2023 16:55:20 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa644dd7b7f8576796f83db19721bc0b9670f2bc
commit fa644dd7b7f8576796f83db19721bc0b9670f2bc
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-09 16:54:29 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-09 16:55:05 +0000
games/alephone: Fix build with llvm15
Approved by: portmgr (blanket)
---
games/alephone/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index e58d38d57a57..bbf3557792ec 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -46,6 +46,12 @@ SPEEX_CONFIGURE_WITH= speex
ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib
ZZIP_CONFIGURE_WITH= zzip
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}