games/odamex: Unbreak.
We had missed one place where the SDL versioning had to be changed. OK thfr@, thanks.
This commit is contained in:
parent
4125b6014d
commit
65c1c37291
|
@ -1,11 +1,9 @@
|
|||
BROKEN = segfaults since SDL2 was updated
|
||||
|
||||
COMMENT = online multiplayer doom
|
||||
|
||||
V = 0.9.5
|
||||
DISTNAME = odamex-src-${V}
|
||||
PKGNAME = odamex-${V}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = games
|
||||
HOMEPAGE = https://odamex.net/
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
Workaround to build with SDL 2.24.1+ until upstream catches up to new
|
||||
SDL versioning
|
||||
|
||||
https://github.com/odamex/odamex/commit/84b88e156fd81cf74b70bc6c0129bde5d9588e1a
|
||||
|
||||
Index: client/sdl/i_sdl.h
|
||||
--- client/sdl/i_sdl.h.orig
|
||||
+++ client/sdl/i_sdl.h
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
-#if (SDL_MAJOR_VERSION == 2 && SDL_MINOR_VERSION == 0)
|
||||
+#if (SDL_MAJOR_VERSION == 2)
|
||||
#define SDL20
|
||||
#elif (SDL_MAJOR_VERSION == 1 && SDL_MINOR_VERSION == 2)
|
||||
#define SDL12
|
|
@ -1,6 +1,8 @@
|
|||
Workaround to build with SDL 2.24.1+ until upstream catches up to new
|
||||
SDL versioning
|
||||
|
||||
https://github.com/odamex/odamex/commit/84b88e156fd81cf74b70bc6c0129bde5d9588e1a
|
||||
|
||||
Index: libraries/textscreen/txt_sdl.h
|
||||
--- libraries/textscreen/txt_sdl.h.orig
|
||||
+++ libraries/textscreen/txt_sdl.h
|
||||
|
|
Loading…
Reference in New Issue