Created attachment 222828 [details] stk-sdl.patch SDL2 update is prepared in bug 252371. Ahead of that, import the build fix from upstream repo like other distributions did, e.g. https://bugs.gentoo.org/761814
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/270063854
ping
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4016f76db3a9e41aa48b932993a254393ae1f0e4 commit 4016f76db3a9e41aa48b932993a254393ae1f0e4 Author: Greg V <greg@unrelenting.technology> AuthorDate: 2021-02-25 17:20:19 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-09-19 12:18:47 +0000 games/supertuxkart: unbreak build with sdl2 >= 2.0.14 src/input/gamepad_config.cpp:35:1: error: static_assert failed due to requirement 'SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT' "non continous name" static_assert(SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT, "non continous name"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 253850 Approved by: maintainer timeout (7 months) games/supertuxkart/Makefile | 5 ++++- games/supertuxkart/distinfo | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-)