Skip to content

Commit

Permalink
games/supertuxkart: unbreak build with sdl2 >= 2.0.14
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
valpackett authored and jbeich committed Sep 19, 2021
1 parent 76efc70 commit 4016f76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion games/supertuxkart/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions games/supertuxkart/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4016f76

Please sign in to comment.