WIP Scummvm. It compiles but doesn't link.
[aros:aros.git] / ports / emulation / scummvm / scummvm-1.6.0-aros.diff
1 diff -Naur scummvm-1.6.0-orig/backends/graphics/opengl/gltexture.h scummvm-1.6.0/backends/graphics/opengl/gltexture.h
2 --- scummvm-1.6.0-orig/backends/graphics/opengl/gltexture.h     2013-10-08 21:07:43.903296513 +0200
3 +++ scummvm-1.6.0/backends/graphics/opengl/gltexture.h  2013-10-08 21:37:44.007370745 +0200
4 @@ -50,7 +50,11 @@
5  #elif defined(USE_GLES)
6  #include <GLES/gl.h>
7  #elif defined(SDL_BACKEND)
8 +#if defined(__AROS__)
9 +#include <SDL/SDL_opengl.h>
10 +#else
11  #include <SDL_opengl.h>
12 +#endif
13  #else
14  #include <GL/gl.h>
15  #endif
16 diff -Naur scummvm-1.6.0-orig/backends/platform/sdl/sdl-sys.h scummvm-1.6.0/backends/platform/sdl/sdl-sys.h
17 --- scummvm-1.6.0-orig/backends/platform/sdl/sdl-sys.h  2013-10-08 21:07:43.931296513 +0200
18 +++ scummvm-1.6.0/backends/platform/sdl/sdl-sys.h       2013-10-08 21:37:44.007370745 +0200
19 @@ -51,6 +51,8 @@
20  
21  #if defined(__SYMBIAN32__)
22  #include <esdl\SDL.h>
23 +#elif defined(__AROS__)
24 +#include <SDL/SDL.h>
25  #else
26  #include <SDL.h>
27  #endif
28 diff -Naur scummvm-1.6.0-orig/config.log scummvm-1.6.0/config.log
29 --- scummvm-1.6.0-orig/config.log       2013-10-08 21:07:43.767296507 +0200
30 +++ scummvm-1.6.0/config.log    2013-10-08 21:37:44.007370745 +0200
31 @@ -1 +1 @@
32 -Configure run on Tue Oct 8 21:06:41 CEST 2013
33 +Configure run on Tue Oct 8 22:47:36 CEST 2013
34 diff -Naur scummvm-1.6.0-orig/configure scummvm-1.6.0/configure
35 --- scummvm-1.6.0-orig/configure        2013-10-08 21:07:43.591296500 +0200
36 +++ scummvm-1.6.0/configure     2013-10-08 21:37:44.007370745 +0200
37 @@ -1227,6 +1227,9 @@
38                         engine_disable ${engine_name}
39                 done
40                 ;;
41 +       --build=* | --target=* | --disable-nls | --without-x | --without-pic | --disable-shared)
42 +               # ignore some options from the AROS build system
43 +               ;;
44         *)
45                 option_error
46                 ;;