git: 98d2af5ea56d - main - audio/libsidplay: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 20:49:36 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=98d2af5ea56dbe5f22e54724f775a3804ae2677f commit 98d2af5ea56dbe5f22e54724f775a3804ae2677f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 20:47:18 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 20:48:38 +0000 audio/libsidplay: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- audio/libsidplay/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/libsidplay/Makefile b/audio/libsidplay/Makefile index 02281e5b4dcb..67081ebb6686 100644 --- a/audio/libsidplay/Makefile +++ b/audio/libsidplay/Makefile @@ -24,4 +24,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CONFIGURE_ARGS_i386= --enable-optendian --enable-optfixpoint +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + .include <bsd.port.mk>