Date: Wed, 28 Jun 2023 11:59:17 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7e8b07b587a3 - main - games/netradiant: unbreak the port's build against Clang 16 Message-ID: <202306281159.35SBxHbe075267@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e8b07b587a3ddc02ffd332680c079a6e3958259 commit 7e8b07b587a3ddc02ffd332680c079a6e3958259 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2023-06-28 11:58:06 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2023-06-28 11:58:06 +0000 games/netradiant: unbreak the port's build against Clang 16 Reported by: pkg-fallout --- games/netradiant/Makefile | 4 +++- games/netradiant/files/patch-Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile index 291cd132e49f..f0de93d5e962 100644 --- a/games/netradiant/Makefile +++ b/games/netradiant/Makefile @@ -46,7 +46,9 @@ GAMES= DarkPlaces Doom3 ET Neverball Nexuiz OpenArena Osirion Quake1 \ GAMEPACK_DISTFILES= ${GAMES:S/$/Pack.zip:gp/} post-patch: - @${REINPLACE_CMD} -e '/#include/s,<sys/dir,&ent,' \ + @${REINPLACE_CMD} -e 's,register ,,' \ + ${WRKSRC}/libs/container/hashfunc.h + @${REINPLACE_CMD} -e '/#include/s,sys/dir,dirent,' \ ${WRKSRC}/tools/quake2/qdata/qdata.c @${REINPLACE_CMD} -e 's,#ifndef WIN32,#ifdef NeXT,' \ ${WRKSRC}/tools/quake3/q3data/q3data.c diff --git a/games/netradiant/files/patch-Makefile b/games/netradiant/files/patch-Makefile index 0b1663707d37..23d78326952e 100644 --- a/games/netradiant/files/patch-Makefile +++ b/games/netradiant/files/patch-Makefile @@ -5,7 +5,7 @@ endif -CFLAGS_COMMON = -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -+CFLAGS_COMMON = -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon ++CFLAGS_COMMON = -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-implicit-function-declaration -Wno-unused-parameter -fcommon CPPFLAGS_COMMON = LDFLAGS_COMMON = LIBS_COMMON =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306281159.35SBxHbe075267>