Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 20:49:36 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: 98d2af5ea56d - main - audio/libsidplay: Fix build with llvm16
Message-ID:  <202306242049.35OKnaD0073768@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=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>



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