pkgsrc/emulators/atari800/patches/patch-configure
nia e686016ee1 atari800: Update to 4.2.0. Nice.
Version 4.2.0 (2019/12/28) - released at SILK

New Features:

    raw Pokey registers recording by Ivo van Poorten
    new platform supported: FireBee
    optional hiding of hidden files/folders in the UI file selector
    libatari800 (Atari800 as a library) by Rob McMullen
    R: device (many years old feature) enabled by default

Fixes:

    proper check if SDL joysticks are found (fixes #58)
    Portrait mode for Android (related to #41)
    RMW for Pokey
    Improved BASIC LST file loading (#55)
    ROM OS path changes handled better (#15)
    improved "Find ROM images" - now Atari800 reboots if necessary (#15)
    fixed an old bug which caused freezing in the UI on Falcon

New command line options:

    -pokeyrec and its children
    -atari_files (#29)
    -saved_files (#29)
    -kbdjoy0 -kbdjoy1 -nokbdjoy0 -nokbdjoy1 (#29)

Plus many Atari Falcon specific fixes and improvements by Mikro. This should be the most complete and bug-free Atari Falcon release in years, so enjoy! :)
2020-01-18 21:33:13 +00:00

55 lines
1.7 KiB
Text

$NetBSD: patch-configure,v 1.3 2020/01/18 21:33:13 nia Exp $
Compatibility fixes.
--- configure.orig 2019-12-28 17:00:31.000000000 +0000
+++ configure
@@ -9143,10 +9143,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
@@ -9527,7 +9524,7 @@ fi
-if [ "$a8_target" == "libatari800" ]; then
+if [ "$a8_target" = "libatari800" ]; then
WANT_NEW_CYCLE_EXACT=yes
WANT_VERY_SLOW=no
WANT_CRASH_MENU=no
@@ -10245,10 +10242,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
@@ -10621,7 +10615,7 @@ $as_echo "#define VOICEBOX 1" >>confdefs
fi
- if [ "$with_sound" == "libatari800" ]; then
+ if [ "$with_sound" = "libatari800" ]; then
WANT_SOUND_CALLBACK=no
WANT_CONSOLE_SOUND=yes
WANT_SERIO_SOUND=yes
@@ -10985,7 +10979,7 @@ $as_echo "#define POKEYREC 1" >>confdefs
fi
-if [ "$WANT_POKEYREC" == "yes" ]; then
+if [ "$WANT_POKEYREC" = "yes" ]; then
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then :
enableval=$enable_largefile;