Package: libsdl2 / 2.32.4+dfsg-1

Metadata

Package Version Patches format
libsdl2 2.32.4+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian/no libdir.patch | (download)

sdl2-config.in | 16 13 + 3 - 0 !
1 file changed, 13 insertions(+), 3 deletions(-)

 avoid hard-coding libdir 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 at least one of:
  - $DEB_HOST_MULTIARCH set, or
  - $PKG_CONFIG set to the host architecture pkg-config, or
  - $CC set to a compiler for the host architecture that supports the
    -print-multiarch argument (which Debian's gcc and older Debian
    packages for clang do), 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>
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>