From f56914b16c5a8bd0cb76959e1c2e4752d40d4e13 Mon Sep 17 00:00:00 2001 From: onesixromcom <16732145+onesixromcom@users.noreply.github.com> Date: Sat, 28 Mar 2026 22:44:15 +0200 Subject: [PATCH 1/3] [ports] Update SDL3 to 3.4.2 --- tools/ports/sdl3.py | 8 ++++---- tools/ports/sdl3/SDL_build_config.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/ports/sdl3.py b/tools/ports/sdl3.py index cb743e2b2b5c2..b41f291ac3d2c 100644 --- a/tools/ports/sdl3.py +++ b/tools/ports/sdl3.py @@ -9,9 +9,9 @@ from tools import diagnostics -VERSION = '3.2.30' +VERSION = '3.4.2' TAG = f'release-{VERSION}' -HASH = '80ef7b2f257f43fe47c7ea8aa0a64f1c6f23720d91065d5e9b42f0205c62fc98bcf8dd1f1834fe09c66bea2598a18a658b82212cb29810be2d2175dece0aadce' +HASH = 'a17fe538993a3956e0b85fda21e7b431244e803a5facb35bb7a2bfd9ee23f1aac65838ed3225f526b81410cae7c23da7c40693c2e791385281f0764239116bce' SUBDIR = f'SDL-{TAG}' variants = {'sdl3-mt': {'PTHREADS': 1}} @@ -29,7 +29,7 @@ def get(ports, settings, shared): diagnostics.warning('experimental', 'sdl3 port is still experimental') # get the port - ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/{TAG}.zip', sha512hash=HASH) + ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/refs/tags/{TAG}.zip', sha512hash=HASH) def create(final): root_dir = ports.get_dir('sdl3', SUBDIR) @@ -53,7 +53,7 @@ def create(final): 'atomic/*.c', 'audio/*.c', 'camera/*.c', - 'core/*.c', + 'core/unix/*.c', 'cpuinfo/*.c', 'dynapi/*.c', 'events/*.c', diff --git a/tools/ports/sdl3/SDL_build_config.h b/tools/ports/sdl3/SDL_build_config.h index 87fc5c822c3d2..25317e19e4300 100644 --- a/tools/ports/sdl3/SDL_build_config.h +++ b/tools/ports/sdl3/SDL_build_config.h @@ -47,6 +47,8 @@ #define HAVE_STRING_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_WCHAR_H 1 +#define HAVE_GETRESGID 1 +#define HAVE_GETRESUID 1 /* #undef HAVE_PTHREAD_NP_H */ /* C library functions */ From 3386528e259a384ce26a35202adb1c2784ac86e8 Mon Sep 17 00:00:00 2001 From: onesixromcom <16732145+onesixromcom@users.noreply.github.com> Date: Sat, 28 Mar 2026 23:28:00 +0200 Subject: [PATCH 2/3] [ports] SDL3 update, fix archive link --- tools/ports/sdl3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ports/sdl3.py b/tools/ports/sdl3.py index b41f291ac3d2c..e01f5d0feb934 100644 --- a/tools/ports/sdl3.py +++ b/tools/ports/sdl3.py @@ -29,7 +29,7 @@ def get(ports, settings, shared): diagnostics.warning('experimental', 'sdl3 port is still experimental') # get the port - ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/refs/tags/{TAG}.zip', sha512hash=HASH) + ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/{TAG}.zip', sha512hash=HASH) def create(final): root_dir = ports.get_dir('sdl3', SUBDIR) From ac8ca3efdbce72532d3c89a2c05f47ed962bff2c Mon Sep 17 00:00:00 2001 From: onesixromcom <16732145+onesixromcom@users.noreply.github.com> Date: Tue, 31 Mar 2026 11:53:27 +0300 Subject: [PATCH 3/3] Changelog update --- ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog.md b/ChangeLog.md index 3bdde1241ba74..b4a9bab199aa3 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -26,6 +26,7 @@ See docs/process.md for more on how version tagging works. - `emcmake` no longer automatically injects `--experimental-wasm-threads` and `--experimental-wasm-bulk-memory` flags when used with versions of node older than v16. (#26560) +- SDL3 port updated from 3.2.30 to 3.4.2 (#26572) 5.0.4 - 03/23/26 ----------------