git: 834cf69a0a05 - main - devel/sunpromake: fix build with LLVM 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 23:28:01 UTC
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.