Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 18:30:50 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: 48e3e3be309b - main - news/golded+: Fix build with llvm16
Message-ID:  <202308061830.376IUoko034240@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=48e3e3be309b882607bd340a5376ff301ea422be

commit 48e3e3be309b882607bd340a5376ff301ea422be
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 18:18:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 18:30:38 +0000

    news/golded+: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 news/golded+/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/news/golded+/Makefile b/news/golded+/Makefile
index 14e8b2bc398e..22e3ae2b49e6 100644
--- a/news/golded+/Makefile
+++ b/news/golded+/Makefile
@@ -27,6 +27,12 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 DOCS_SUB_LIST=	NOTEWORK="Please read the ${DOCSDIR}/notework.txt before using ${PORTNAME}"
 DOCS_SUB_LIST_OFF=	NOTEWORK=""
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=  -Dregister=
+.endif
+
 post-patch:
 	@${SED}\
 		-e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\



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