aboutsummaryrefslogtreecommitdiff
path: root/games
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
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')
-rw-r--r--games/supertuxkart/Makefile5
-rw-r--r--games/supertuxkart/distinfo2
2 files changed, 6 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
diff --git a/games/supertuxkart/distinfo b/games/supertuxkart/distinfo
index 61c3ad95cff5..7d0f05be7799 100644
--- a/games/supertuxkart/distinfo
+++ b/games/supertuxkart/distinfo
@@ -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