1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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)
This commit is contained in:
Greg V 2021-02-25 17:20:19 +00:00 committed by Jan Beich
parent 76efc7077d
commit 4016f76db3
2 changed files with 6 additions and 1 deletions

View File

@ -1,10 +1,13 @@
PORTNAME= supertuxkart
PORTVERSION= 1.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/supertuxkart/SuperTuxKart/${PORTVERSION}
DISTNAME= SuperTuxKart-${PORTVERSION}-src
PATCH_SITES= https://github.com/${PORTNAME}/stk-code/commit/
PATCHFILES+= 61833c9c26da5520f.patch:-p1 # Fix compilation with latest SDL
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Free 3D kart racing game

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1598745498
SHA256 (SuperTuxKart-1.2-src.tar.xz) = 052edf0afdbeb99583fe8676fb0ab80ecb6103fb88b7540f858d1b5fa1297d37
SIZE (SuperTuxKart-1.2-src.tar.xz) = 614569164
SHA256 (61833c9c26da5520f.patch) = ff1f35d7cc83ad98f531f9d77eb1caacd2e65fd64a8da42c693812ca5741d966
SIZE (61833c9c26da5520f.patch) = 5396