| @@ -1,23 +1,25 @@ | | | @@ -1,23 +1,25 @@ |
1 | $NetBSD: patch-ad,v 1.5 2009/11/04 11:44:15 adam Exp $ | | 1 | $NetBSD: patch-ad,v 1.6 2010/12/25 10:53:22 adam Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2009-03-27 10:13:51.000000000 +0100 | | 3 | --- configure.orig 2009-03-27 10:13:51.000000000 +0100 |
4 | +++ configure | | 4 | +++ configure |
5 | @@ -3507,7 +3507,6 @@ case "$a8_target" in | | 5 | @@ -3506,9 +3506,6 @@ case "$a8_target" in |
| | | 6 | sdlcheck="X_`sdl-config --cflags`" |
6 | if [ "$sdlcheck" != "X_" ]; then | | 7 | if [ "$sdlcheck" != "X_" ]; then |
7 | CFLAGS="$CFLAGS `sdl-config --cflags`" | | 8 | CFLAGS="$CFLAGS `sdl-config --cflags`" |
8 | if [ "$a8_host" = "win" ]; then | | 9 | - if [ "$a8_host" = "win" ]; then |
9 | - CFLAGS=${CFLAGS/-Dmain=SDL_main/} | | 10 | - CFLAGS=${CFLAGS/-Dmain=SDL_main/} |
10 | fi | | 11 | - fi |
11 | else | | 12 | else |
12 | { { echo "$as_me:$LINENO: error: \"No output from sdl-config! Is sdl-config installed?\"" >&5 | | 13 | { { echo "$as_me:$LINENO: error: \"No output from sdl-config! Is sdl-config installed?\"" >&5 |
| | | 14 | echo "$as_me: error: \"No output from sdl-config! Is sdl-config installed?\"" >&2;} |
13 | @@ -6558,10 +6557,8 @@ _ACEOF | | 15 | @@ -6558,10 +6557,8 @@ _ACEOF |
14 | OBJS="atari_sdl.o" | | 16 | OBJS="atari_sdl.o" |
15 | CFLAGS="$CFLAGS -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wstrict-prototypes -Winline" | | 17 | CFLAGS="$CFLAGS -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wstrict-prototypes -Winline" |
16 | if [ "$a8_host" = "win" ]; then | | 18 | if [ "$a8_host" = "win" ]; then |
17 | - LIBS=${LIBS/-lSDLmain/} | | 19 | - LIBS=${LIBS/-lSDLmain/} |
18 | OBJS="$OBJS SDL_win32_main.o" | | 20 | OBJS="$OBJS SDL_win32_main.o" |
19 | CFLAGS="$CFLAGS -DNO_STDIO_REDIRECT" | | 21 | CFLAGS="$CFLAGS -DNO_STDIO_REDIRECT" |
20 | - LIBS=${LIBS/-mwindows/} | | 22 | - LIBS=${LIBS/-mwindows/} |
21 | fi | | 23 | fi |
22 | | | 24 | |
23 | cat >>confdefs.h <<\_ACEOF | | 25 | cat >>confdefs.h <<\_ACEOF |