Debian Patches

Status for hedgewars/1.0.0-14

Patch Description Author Forwarded Bugs Origin Last update
sdl2-fixes.patch Remove FindSDL2 find-module, use sdl2-config.cmake instead

This requires SDL >= 2.0.4.

Since <https://bugzilla.libsdl.org/show_bug.cgi?id=2464> was fixed in
SDL 2.0.4, SDL behaves as a CMake "config-file package", even if it was
not itself built using CMake: it installs a sdl2-config.cmake file to
${libdir}/cmake/SDL2, which tells CMake where to find SDL's headers and
library, analogous to a pkg-config .pc file.

As a result, we no longer need to copy/paste a "find-module package"
to be able to find a system copy of SDL >= 2.0.4 with find_package(SDL2).
Find-module packages are now discouraged by the CMake developers, in
favour of having upstream projects behave as config-file packages.

This results in a small API change: FindSDL2 used to set SDL2_INCLUDE_DIR
and SDL2_LIBRARY, but the standard behaviour for config-file packages is
to set <name>_INCLUDE_DIRS and <name>_LIBRARIES. Use the CONFIG keyword
to make sure we search in config-file package mode, and will not find a
FindSDL2.cmake in some other directory that implements the old interface.

In addition to deleting redundant code, this avoids some assumptions in
FindSDL2 about the layout of a SDL installation. The current libsdl2-dev
package in Debian breaks those assumptions; this is considered a bug
and will hopefully be fixed soon, but it illustrates how fragile these
assumptions can be. We can be more robust against different installation
layouts by relying on SDL's own CMake integration.

When linking to a copy of CMake in a non-standard location, users can
now set the SDL2_DIR or CMAKE_PREFIX_PATH environment variable to point
to it; previously, these users would have used the SDL2DIR environment
variable. This continues to be unnecessary if using matching system-wide
installations of CMake and SDL2, for example both from Debian.
no https://github.com/JACoders/OpenJK/commit/52030235f052772008d99e6ccb16de48e7ddb688
hedgewars-1.0.0-server-network3.patch =================================================================== Jens Petersen no https://bugzilla.redhat.com/show_bug.cgi?id=1853122
optional-network-bsd.patch Make the new network-bsd package optional, by implementing the keyword REQUIRED in the check_haskell_package_exists macro Gianfranco Costamagna <locutusofborg@debian.org> no 2020-07-08
fpc-3.2.0.patch Fix/Workaround build failure with newer fpc 3.2.0 no debian http://hg.hedgewars.org/hedgewars/rev/6832dab555ae 2020-08-10
0eb95ff5c1c29887f14ecb2bb5f9c3cdd8b3ff29.patch [PATCH] Fix build with Qt 5.15+ felixonmars <felixonmars@archlinux.org> no 2020-06-04
036263d63b05.patch # HG changeset patch
# User unc0rr
# Date 1603217384 -7200
# Node ID 036263d63b05e954624444d32c5116c2329bce80
# Parent 82fd124e6512b0a89162ae984ff908306455703f
Fix lack of declaration decorations for dynamic arrays in Pas2C

diff -r 82fd124e6512 -r 036263d63b05 tools/pas2c/Pas2C.hs
no
f09db263bc2a.patch # HG changeset patch
# User unC0Rr
# Date 1603362815 -7200
# Node ID f09db263bc2aa9cc522dda0134650b8201b3ef4a
# Parent a4558e2be08c0d5cf9c37ea58a76df14b9a867ed
Mark global variables in implementation section static

diff -r a4558e2be08c -r f09db263bc2a tools/pas2c/Pas2C.hs
no

All known versions for source package 'hedgewars'

Links