From b5fd70c7b3b759a7c488ec5dd4ad7f08741896d7 Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Sat, 2 Sep 2023 00:46:03 +0200 Subject: [PATCH] Ports/sdl12-compat: Update sdl12-compat to version 1.2.64 --- Ports/AvailablePorts.md | 2 +- Ports/sdl12-compat/package.sh | 4 ++-- .../0001-Disable-forced-fullscreen-on-logical-scaling.patch | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index f74b4bf23e..8ab54f376d 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -282,7 +282,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`rvvm`](rvvm/) | RVVM - The RISC-V Virtual Machine | 0.5 | https://github.com/LekKit/RVVM | | [`sam`](sam/) | Software Automatic Mouth (SAM) | c86ea39 | https://github.com/vidarh/SAM | | [`scummvm`](scummvm/) | ScummVM | 2.7.1 | https://www.scummvm.org/ | -| [`sdl12-compat`](sdl12-compat/) | SDL2 compatibility layer for SDL 1.2 games | 1.2.56 | https://github.com/libsdl-org/sdl12-compat/ | +| [`sdl12-compat`](sdl12-compat/) | SDL2 compatibility layer for SDL 1.2 games | 1.2.64 | https://github.com/libsdl-org/sdl12-compat/ | | [`SDL2`](SDL2/) | Simple DirectMedia Layer (SDL2) | 2.28.2 | https://github.com/libsdl-org/SDL | | [`SDL2-GNUBoy`](SDL2-GNUBoy/) | SDL2 GNUBoy | 1.2.1 | https://github.com/AlexOberhofer/SDL2-GNUBoy | | [`SDL2_gfx`](SDL2_gfx/) | SDL2\_gfx (Graphics primitives add-on for SDL2) | 1.0.4 | https://sourceforge.net/projects/sdl2gfx/ | diff --git a/Ports/sdl12-compat/package.sh b/Ports/sdl12-compat/package.sh index 415ec871db..50205faa0a 100755 --- a/Ports/sdl12-compat/package.sh +++ b/Ports/sdl12-compat/package.sh @@ -1,10 +1,10 @@ #!/usr/bin/env -S bash ../.port_include.sh port='sdl12-compat' -version='1.2.56' +version='1.2.64' workdir="sdl12-compat-release-${version}" useconfigure='true' files=( - "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz#f62f3e15f95aade366ee6c03f291e8825c4689390a6be681535259a877259c58" + "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz#3e308e817c7f0c6383225485e9a67bf1119ad684b8cc519038671cc1b5d29861" ) depends=( 'SDL2' diff --git a/Ports/sdl12-compat/patches/0001-Disable-forced-fullscreen-on-logical-scaling.patch b/Ports/sdl12-compat/patches/0001-Disable-forced-fullscreen-on-logical-scaling.patch index 0bf5173502..0067388bb7 100644 --- a/Ports/sdl12-compat/patches/0001-Disable-forced-fullscreen-on-logical-scaling.patch +++ b/Ports/sdl12-compat/patches/0001-Disable-forced-fullscreen-on-logical-scaling.patch @@ -12,10 +12,10 @@ but disabling fullscreen at this point fixes the flickering. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c -index 2dddc16937882f66c315f099f506704851b32d8e..57ace97794e7507d228f1dd076202d3aa22810c6 100644 +index 8d07936f35df5f0874e7f8466e79cb9af0397d93..1915ab718f3fa1d40bd168a119e0f19617ab0fc5 100644 --- a/src/SDL12_compat.c +++ b/src/SDL12_compat.c -@@ -5894,7 +5894,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags12) +@@ -6167,7 +6167,7 @@ SetVideoModeImpl(int width, int height, int bpp, Uint32 flags12) SDL20_SetWindowFullscreen(VideoWindow20, fullscreen_flags20); SDL20_SetWindowSize(VideoWindow20, width, height); /* not scaled_width, scaled_height */ if (was_fullscreen) {