Debian Patches

Status for libsdl3/3.2.26+ds-2

Patch Description Author Forwarded Bugs Origin Last update
pulseaudio-Match-channel-map-to-SDL-s-chosen-order.patch pulseaudio: Match channel map to SDL's chosen order
pa_channel_map_init_auto() with PA_CHANNEL_MAP_WAVEEX does the wrong
thing as it just takes the lest significant bits of
WAVEFORMATEXTENSIBLE's dwChannelMask in order. This doesn't match SDL's
chosen channel ordering.

The implementation here mirrors what we do for PipeWire.

(cherry picked from commit 0d2f081d41bb47015ae16743491a0032bdc869fd)
Arkadiusz Hiler <ahiler@codeweavers.com> no upstream, 3.2.28, commit:28af0d58c6ac447955c5c8255760e320d150f94c 2025-10-30
Fixed-the-right-touchpad-calculation-for-the-BLE-Steam-Co.patch Fixed the right touchpad calculation for the BLE Steam Controller
(cherry picked from commit eb87a36940f34a8ea4eb73061b84f9b94b3d3b03)
Sam Lantinga <slouken@libsdl.org> yes upstream upstream, 3.2.28, commit:11fc77b704deb812c4b72b18ac0388d81f427897 2025-11-02
Fix-NULL-pointer-dereference-in-SDL_GlobStorageDirectory.patch Fix NULL pointer dereference in SDL_GlobStorageDirectory
(cherry picked from commit fc6f97f1627c19e8345f5b483b96e2c185e5670f)
bleeqer <bleeqtheproducer@gmail.com> no upstream, 3.2.28, commit:0c2e3308a54d52054b27ddd140edcbe459a2c4e4 2025-10-26
Fixed-the-paddle-mapping-for-Steam-Controllers.patch Fixed the paddle mapping for Steam Controllers
(cherry picked from commit 3336aa95f12df4f15150e860b310beac55be06a4)
Sam Lantinga <slouken@libsdl.org> yes upstream upstream, 3.2.28, commit:1bfa90cb1f1c80e33ec36c7137009b42152c71f0 2025-11-02
Clamp-the-audio-drain-delay-to-100-ms.patch Clamp the audio drain delay to 100 ms
(cherry picked from commit 08826230923dfb70e4558a41179ac0744e69fdb8)
Sam Lantinga <slouken@libsdl.org> yes upstream upstream, 3.2.28, commit:bfe046b60f0ee5e67ec5a6e08bcafc639937cd4a 2025-11-02
Removed-redundant-wait-at-shutdown-in-the-ALSA-audio-driv.patch Removed redundant wait at shutdown in the ALSA audio driver
(cherry picked from commit 97e2951875fbc306e03f115a6f73992ffa167593)
Sam Lantinga <slouken@libsdl.org> no upstream, 3.2.28, commit:4ae517e24ee1c1dc8d27f96a4b360651c6875fcd 2025-11-02
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