git: a0a49d750dd0 - main - games/libretro-pcsx_rearmed: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 12:16:21 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0a49d750dd06add5340b27e8df79c3db0580c5d commit a0a49d750dd06add5340b27e8df79c3db0580c5d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-26 12:05:37 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-26 12:16:02 +0000 games/libretro-pcsx_rearmed: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- games/libretro-pcsx_rearmed/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/games/libretro-pcsx_rearmed/Makefile b/games/libretro-pcsx_rearmed/Makefile index f98af9fe2d9c..519055b853bd 100644 --- a/games/libretro-pcsx_rearmed/Makefile +++ b/games/libretro-pcsx_rearmed/Makefile @@ -22,8 +22,14 @@ PLIST_FILES= lib/libretro/pcsx_rearmed_libretro.so MAKEFILE= Makefile.libretro +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/pcsx_rearmed_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; -.include <bsd.port.mk> +.include <bsd.port.post.mk>