Debian Patches

Status for zdbsp/1.19+20181027+dfsg.1-6

Patch Description Author Forwarded Bugs Origin Last update
cmake_minimum.patch commit 857fdb99a0b1c2037289c3d19e6af9603e4f0ef1

add latest cmake to version requirements

this prevents current versions of cmake from erroring out due to out-of-date version requirements. we could have just changed the minimum to 3.5, but that results in a further deprecation warning; instead, adding the max gives the most amount of time until someone needs to update this again, and as a bonus should remain compatible with older cmake versions. in theory at least, we're not a cmake guru

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0ac4c0..fa681a9 100644
Su <su@angel-island.zone> yes debian upstream https://github.com/rheit/zdbsp/commit/857fdb99a0b1c2037289c3d19e6af9603e4f0ef1.patch 2025-06-13
0001-Use-runtime-endian-test-for-byte-swap-functions.patch [PATCH] Use runtime endian test for byte swap functions
Remove CPP-branching on endian flags, which meant maintaining two
versions of the byte swap functions. Expand the list of variants
with some missing (e.g. receiving long) to fix compile errors.

Add a runtime host-endian test and runtime conditional branch.
GCC removes these completely on BE and LE with -O1; I suspect
LLVM does too.
Jonathan Dowland <jon@dow.land> no 2025-09-08

All known versions for source package 'zdbsp'

Links