]> git.pld-linux.org Git - packages/dosbox.git/blob - dosbox-gcc46.patch
- obsolete
[packages/dosbox.git] / dosbox-gcc46.patch
1 --- dosbox-0.74/include/dos_inc.h~      2010-05-10 19:43:54.000000000 +0200
2 +++ dosbox-0.74/include/dos_inc.h       2012-02-12 19:37:06.688604486 +0100
3 @@ -28,6 +28,8 @@
4  #include "mem.h"
5  #endif
6  
7 +#include <cstddef>
8 +
9  #ifdef _MSC_VER
10  #pragma pack (1)
11  #endif
12 --- dosbox-0.74/src/gui/sdlmain.cpp~    2010-05-10 19:43:54.000000000 +0200
13 +++ dosbox-0.74/src/gui/sdlmain.cpp     2013-11-07 22:23:59.891932656 +0100
14 @@ -1529,7 +1529,7 @@
15         if ( !sdl.inited && SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE) < 0 ) textonly = true;
16         sdl.inited = true;
17  #endif
18 -       printf(message);
19 +       printf("%s", message);
20         if(textonly) return;
21         if(!sdl.surface) sdl.surface = SDL_SetVideoMode(640,400,0,0);
22         if(!sdl.surface) return;
This page took 0.126972 seconds and 3 git commands to generate.