Permalink
Browse files

atari800 - updated to v4.0.0

 * update rpi_fixes patch for new version
  • Loading branch information...
joolswills committed Oct 10, 2018
1 parent 41fe1fa commit b73a8235d19d20439ce9b55befe8a2c0a529693a
Showing with 8 additions and 10 deletions.
  1. +1 −1 scriptmodules/emulators/atari800.sh
  2. +7 −9 scriptmodules/emulators/atari800/01_rpi_fixes.diff
@@ -23,7 +23,7 @@ function depends_atari800() {
}
function sources_atari800() {
downloadAndExtract "$__archive_url/atari800-3.1.0.tar.gz" "$md_build" 1
downloadAndExtract "$__archive_url/atari800-4.0.0.tar.gz" "$md_build" 1
if isPlatform "rpi"; then
applyPatch "$md_data/01_rpi_fixes.diff"
fi
@@ -1,22 +1,20 @@
--- a/src/configure.ac 2014-04-12 13:58:16.000000000 +0000
+++ b/src/configure.ac 2018-08-22 13:51:47.998493324 +0000
@@ -136,7 +136,8 @@
LDFLAGS="$LDFLAGS -L${PS2SDK}/ports/lib"
--- a/src/configure.ac 2018-10-10 18:29:51.126739086 +0100
+++ b/src/configure.ac.new 2018-10-10 18:30:12.246687333 +0100
@@ -141,7 +141,7 @@
fi
if [[ "$a8_target" = "rpi" ]]; then
- CC="${RPI_SDK}/bin/arm-linux-gnueabihf-gcc"
+ [[ -z "$RPI_SDK" ]] && RPI_SDK="/opt/vc"
[[ -z "$RPI_SDK" ]] && RPI_SDK="/opt/vc"
- CC="arm-linux-gnueabihf-gcc"
+ CC="gcc"
CFLAGS="$CFLAGS -I${RPI_SDK}/include -I${RPI_SDK}/include/SDL -I${RPI_SDK}/include/interface/vmcs_host/linux -I${RPI_SDK}/include/interface/vcos/pthreads"
LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs -L${RPI_SDK}/lib"
fi
@@ -309,8 +310,9 @@
AC_DEFINE(SUPPORTS_PLATFORM_CONFIGURE,1,[Additional config file options.])
@@ -324,8 +324,8 @@
AC_DEFINE(SUPPORTS_PLATFORM_CONFIGSAVE,1,[Save additional config file options.])
AC_DEFINE(SUPPORTS_PLATFORM_PALETTEUPDATE,1,[Update the Palette if it changed.])
AC_DEFINE(PLATFORM_MAP_PALETTE,1,[Platform-specific mapping of RGB palette to display surface.])
- A8_NEED_LIB(GLESv2)
- A8_NEED_LIB(EGL)
+ AC_DEFINE(PLATFORM_MAP_PALETTE,1,[Platform-specific mapping of RGB palette to display surface.])
+ A8_NEED_LIB(brcmGLESv2)
+ A8_NEED_LIB(brcmEGL)
A8_NEED_LIB(SDL)

0 comments on commit b73a823

Please sign in to comment.