summaryrefslogtreecommitdiff
path: root/emulators/atari800/patches/patch-configure
blob: e35b75a19a08a4f6855411ef8d1d5a57bda9d8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-configure,v 1.2 2019/05/05 10:12:59 adam Exp $

Compatibility fixes.

--- configure.orig	2019-04-14 08:27:50.000000000 +0000
+++ configure
@@ -9050,10 +9050,7 @@ $as_echo "#define SUPPORTS_PLATFORM_TIME
             LIBS="$LIBS $SDL_LIBS"
             CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
             if [ "$a8_host" = "win" ]; then
-                CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
-                LIBS=${LIBS/-lSDLmain/}
                 CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
-                LIBS=${LIBS/-mwindows/}
             fi
             a8_use_sdl=yes
 
@@ -10114,10 +10111,7 @@ $as_echo "#define SUPPORTS_PLATFORM_TIME
             LIBS="$LIBS $SDL_LIBS"
             CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
             if [ "$a8_host" = "win" ]; then
-                CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
-                LIBS=${LIBS/-lSDLmain/}
                 CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
-                LIBS=${LIBS/-mwindows/}
             fi
             a8_use_sdl=yes