diff options
author | Tristan Heaven <tristan@gentoo.org> | 2006-10-26 21:37:27 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2006-10-26 21:37:27 +0000 |
commit | 69164d8f6383c635fbd2b00390fbff7033bd1f4e (patch) | |
tree | d7acdfe3302ad8513350a989cf25ba7406d62bdd /dev-games/kyra/files | |
parent | Stable on amd64/x86 wrt bug #152887. (diff) | |
download | historical-69164d8f6383c635fbd2b00390fbff7033bd1f4e.tar.gz historical-69164d8f6383c635fbd2b00390fbff7033bd1f4e.tar.bz2 historical-69164d8f6383c635fbd2b00390fbff7033bd1f4e.zip |
Fix compile errors with recent SDL versions, bug #152628
Package-Manager: portage-2.1.2_pre3-r9
Diffstat (limited to 'dev-games/kyra/files')
-rw-r--r-- | dev-games/kyra/files/kyra-2.0.7-sdl.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-games/kyra/files/kyra-2.0.7-sdl.patch b/dev-games/kyra/files/kyra-2.0.7-sdl.patch new file mode 100644 index 000000000000..28139e1b1fa5 --- /dev/null +++ b/dev-games/kyra/files/kyra-2.0.7-sdl.patch @@ -0,0 +1,23 @@ +--- engine/namefield.h ++++ engine/namefield.h +@@ -31,6 +31,7 @@ + #include "../util/gltypes.h" + #include "../util/gllist.h" + #include "SDL_endian.h" ++#include "SDL_rwops.h" + + + +--- util/gltypes.h ++++ util/gltypes.h +@@ -40,8 +40,8 @@ + typedef Sint32 S32; + + #ifdef SDL_HAS_64BIT_TYPE +- typedef SDL_HAS_64BIT_TYPE S64; +- typedef unsigned SDL_HAS_64BIT_TYPE U64; ++ typedef Sint64 S64; ++ typedef Uint64 U64; + #else + #error No 64-bit integer. + #endif |