Package: libsdl2 / 2.0.14+dfsg2-3

Metadata

Package Version Patches format
libsdl2 2.0.14+dfsg2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Use wayland scanner in private code mode.patch | (download)

Makefile.in | 1 1 + 0 - 0 !
cmake/sdlchecks.cmake | 13 10 + 3 - 0 !
configure.ac | 6 5 + 1 - 0 !
3 files changed, 16 insertions(+), 4 deletions(-)

 use wayland-scanner in private-code mode

In versions since 1.15, the `code` mode is a deprecated alias for
`public-code`, which emits symbols with default visibility, overriding
SDL's -fvisibility=hidden option.

Use the `private-code` mode instead. This emits symbols with hidden
visibility, so they do not affect the ABI of libSDL.

See also: https://bugreports.qt.io/browse/QTBUG-73099,
https://lists.freedesktop.org/archives/wayland-devel/2018-February/037097.html

waylandtouch Don t export interface structs.patch | (download)

src/video/wayland/SDL_waylandtouch.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 waylandtouch: don't export interface structs

These are explicitly written in C code rather than generated at build
time, so they weren't affected by changing how we invoke
wayland-scanner.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Add a make install target for the tests.patch | (download)

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

 add a `make install` target for the tests

This makes it more convenient to compile them alongside SDL, install
them in an optional package and use them as smoke-tests or diagnostic
tools.

Signed-off-by: Simon McVittie <smcv@collabora.com>

no libdir.patch | (download)

sdl2-config.cmake.in | 3 1 + 2 - 0 !
sdl2-config.in | 5 2 + 3 - 0 !
2 files changed, 3 insertions(+), 5 deletions(-)

 remove libdir from sdl2-config and sdl2-config.cmake

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 a Debian-specific
assumption (that we are installing the library into a directory on the
linker's default search path).