Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 23:28:01 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 834cf69a0a05 - main - devel/sunpromake: fix build with LLVM 16
Message-ID:  <202306262328.35QNS1V1016182@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=834cf69a0a053d87b204a2e97e0cad8e7ac4dd41

commit 834cf69a0a053d87b204a2e97e0cad8e7ac4dd41
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-06-25 15:11:02 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-26 22:58:22 +0000

    devel/sunpromake: fix build with LLVM 16
    
    The codebase makes heavy use of the register keyword, which no longer
    exists as of C++17.  Supply -Wno-register to permit a build anyway.
    
    Reported by:    fallout
---
 devel/sunpromake/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/sunpromake/Makefile b/devel/sunpromake/Makefile
index 0cdb1edfd52e..9ca93ca36049 100644
--- a/devel/sunpromake/Makefile
+++ b/devel/sunpromake/Makefile
@@ -11,6 +11,8 @@ CONFLICTS=	dmake
 MASTERDIR=	${.CURDIR}/../../devel/schilybase
 COMPONENTS=	sunpro
 
+CXXFLAGS+=	-Wno-register
+
 # these libraries are installed by the sunpro component
 # but are internal to the program.  The author recommends
 # not shipping them, so we don't.



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