Debian Patches

Status for libsdl3/3.2.26+ds-1

Patch Description Author Forwarded Bugs Origin Last update
Add-GNU-Hurd-as-platform.patch Add GNU/Hurd as platform
SDL has been building on GNU/Hurd for a long time, using either drivers
based on external libraries (e.g. X11, pulseaudio, sndio, etc) or dummy
drivers. This commit introduces it explicitly as platform, so it can be
recognized, and tweaked as needed. In particular:
- introduce the SDL_PLATFORM_HURD define
- tighten/improve the platform detection in cmake, and use "Hurd" as
identifier
- return the platform name in SDL_GetPlatform()
- tweak the CFLAGS/LDFLAGS so pthreads can be used properly
- implement SDL_GetExeName(), using /proc/self/exe as provided by the
basic Linux-like procfs
- enable GLES 2 in tests (mostly for consistency with Linux)

[smcv: Add a note that availability of SDL_PLATFORM_HURD in 3.2.x is
Debian-specific]
Pino Toscano <toscano.pino@tiscali.it> no debian upstream, 3.4.0, commit:5ff9935e021bd22f36de69f193a948c2138b854b 2025-08-07
cmake-detect-RISCOS-platform-before-GNU-Hurd.patch cmake: detect RISCOS platform before GNU/Hurd Anonymous Maarten <anonymous.maarten@gmail.com> no debian upstream, 3.4.0, commit:595c37b3a4cb62fee46326cd09efb635e49f2a49 2025-08-08
wikiheaders-Escape-backslash-in-man-pages.patch wikiheaders: Escape backslash in man pages
Otherwise, groff will interpret it as a macro, causing the man page
for SDL_GetPrefPath() to be mis-rendered. Escape unescaped backslashes
as `\(rs` ("reverse solidus") before escaping other characters with
macros that, themselves, contain backslashes.
Simon McVittie <smcv@collabora.com> yes 2025-08-30
test-Set-a-much-longer-timeout-for-testatomic-on-GNU-Hurd.patch test: Set a much longer timeout for testatomic on GNU/Hurd
The `FIFO test` part of this test-case exercises not only atomic
operations, but also multi-threading more generally, because it has
multiple threads that artificially cause lock contention. libpthread
on the Hurd is mostly implemented in user-space without kernel assistance,
its kernel and user-space are not well-optimized, and Hurd on i386 in
particular only supports one CPU core, so this can be very slow.
Simon McVittie <smcv@debian.org> no 2025-09-24

All known versions for source package 'libsdl3'

Links