git: 90939df7663a - main - games/ponscripter-07th-mod: unbreak build with clang 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Jun 2023 08:03:18 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=90939df7663aa5262c948293cecb228f7ba9f27c commit 90939df7663aa5262c948293cecb228f7ba9f27c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-06-28 07:59:39 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-06-28 08:02:09 +0000 games/ponscripter-07th-mod: unbreak build with clang 16 bstrwrap.cpp:724:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int i, l; ^~~~~~~~~ bstrwrap.cpp:724:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int i, l; ^~~~~~~~~ bstrwrap.cpp:725:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register unsigned char cx; ^~~~~~~~~ bstrwrap.cpp:726:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register unsigned char * pdata; ^~~~~~~~~ Reported by: pkg-fallout --- games/ponscripter-07th-mod/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/games/ponscripter-07th-mod/Makefile b/games/ponscripter-07th-mod/Makefile index c0081e56d16f..12d7dffcbeac 100644 --- a/games/ponscripter-07th-mod/Makefile +++ b/games/ponscripter-07th-mod/Makefile @@ -25,6 +25,7 @@ GH_ACCOUNT= 07th-mod GH_PROJECT= ${PORTNAME}-fork USES= compiler:c++11-lang gmake pkgconfig sdl shebangfix +USE_CXXSTD= gnu++98 USE_SDL= image2 mixer2 EXTRACT_AFTER_ARGS=--exclude src/extlib SHEBANG_FILES= util/xml-template