1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 00:30:47 +00:00

Ports/sdl12-compat: Update sdl12-compat to version 1.2.64

This commit is contained in:
EWouters 2023-09-02 00:46:03 +02:00 committed by Jelle Raaijmakers
parent c56fe70d3a
commit b5fd70c7b3
3 changed files with 5 additions and 5 deletions

View File

@ -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/ |

View File

@ -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'

View File

@ -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) {