aboutsummaryrefslogtreecommitdiff
path: root/games/supertuxkart/Makefile
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2021-02-25 17:20:19 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-09-19 12:18:47 +0000
commit4016f76db3a9e41aa48b932993a254393ae1f0e4 (patch)
tree18c4bbafb7a9c2eeace559eaba63a707f984cd65 /games/supertuxkart/Makefile
parent76efc7077d52ec2eeddd65b064df2b6e8e21a22c (diff)
downloadports-4016f76db3a9e41aa48b932993a254393ae1f0e4.tar.gz
ports-4016f76db3a9e41aa48b932993a254393ae1f0e4.zip
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)
Diffstat (limited to 'games/supertuxkart/Makefile')
-rw-r--r--games/supertuxkart/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile
index 463844ab93e9..ade06c65bb14 100644
--- a/games/supertuxkart/Makefile
+++ b/games/supertuxkart/Makefile
@@ -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