Package: libsdl2 / 2.32.10+dfsg-4

Metadata

Package Version Patches format
libsdl2 2.32.10+dfsg-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
alsa fix signature of snd_pcm_info_free.patch | (download)

src/audio/alsa/SDL_alsa_audio.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 alsa: fix signature of snd_pcm_info_free

Reference issue: https://github.com/libsdl-org/SDL/issues/13845.

debian/test Don t install bundled copy of unifont.patch | (download)

test/Makefile.in | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 test: don't install bundled copy of unifont

We don't include this in the Debian package.

Signed-off-by: Simon McVittie <smcv@debian.org>
debian/multiarch sdl2 config.patch | (download)

sdl2-config.in | 21 17 + 4 - 0 !
1 file changed, 17 insertions(+), 4 deletions(-)

 avoid hard-coding libdir or static libraries in sdl2-config

This makes the -dev package multiarch co-installable, allowing compilation
of SDL programs for more than one architecture on the same system.

This is not an upstreamable change, since it relies on Debian-specific
assumptions:

* we are installing the library into a directory on the linker's default
  search path
* static linking is done with pkg-config available, and at least one of:
  - $DEB_HOST_MULTIARCH and $DEB_HOST_GNU_TYPE set, or
  - $PKG_CONFIG set to the host architecture pkg-config, or
  - a native build (so the build architecture pkg-config is correct)

Adapted from an earlier patch by Gianfranco Costamagna.

Co-authored-by: Gianfranco Costamagna <locutusofborg@debian.org>