Debian Patches

Status for cataclysm-dda/0.H-1

Patch Description Author Forwarded Bugs Origin Last update
datadir_path.patch Change data dir to /usr/share/games Reiner Herrmann <reiner@reiner-h.de> not-needed
dont_use_git_version.patch Prevent the git commit from being used as version string Reiner Herrmann <reiner@reiner-h.de> not-needed
split-install-target.patch split install target into bin and data parts this allows installing binaries and data files independently Reiner Herrmann <reiner@reiner-h.de> not-needed
test-directories.patch create directories needed for test CDDA and the tests currently require ~/.config and ~/.local/share to exist,
as otherwise it can't create its own directory.
As a workaround until the upstream bug is fixed, the directories are created
before running the tests.
This is okay for dh_auto_test, as it creates a temporary home directory in
debian/.debhelper/.
Reiner Herrmann <reiner@reiner-h.de> yes upstream
gcc14-readonly-assignment.patch [PATCH] stl_emulation span::count_ is not const anymore
In C++ we cannot have both assignment operator and const member. Since
span::operator= is defined, span::count_ constness must be removed.

cherry-picked from upstream
google/flatbuffers@20aad0c41e1252b04c72111c3eb221280a9c2009.

fixes:

In file included from ../src/third-party/flatbuffers/util.h:25,
from ../src/third-party/flatbuffers/flexbuffers.h:26,
from ../src/flexbuffer_json.h:9,
from ../src/json.h:1623,
from ../src/units.h:17,
from ../src/damage.h:18,
from ../src/bodypart.h:15,
from ../src/avatar.h:16,
from ../tests/battery_mod_test.cpp:9:
../src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span<T, Extent>& flatbuffers::span<T, Extent>::operator=(const flatbuffers::span<T, Extent>&)’:
../src/third-party/flatbuffers/stl_emulation.h:550:12: error: assignment of read-only member ‘flatbuffers::span<T, Extent>::count_’
550 | count_ = other.count_;
| ~~~~~~~^~~~~~~~~~~~~~

under gcc 14.
avaliente-bc <56400759+avaliente-bc@users.noreply.github.com> no debian upstream, https://github.com/CleverRaven/Cataclysm-DDA/pull/74229 2022-04-06

All known versions for source package 'cataclysm-dda'

Links