Debian Patches

Status for cataclysm-dda/0.G-5

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
gcc13-keyword-requires.patch [PATCH] Rename variable called requires
As this is a keyword in C++20, it should be used
to name a variable.
Maxime Bouillot <maxbouillot@gmail.com> yes 2023-05-08
gcc13-dangling-reference-warning.patch [PATCH] Disable dangling reference warning
GCC 13 reports false positives of this warning.
Maxime Bouillot <maxbouillot@gmail.com> yes 2023-05-08
gcc13-cstdint.patch [PATCH] Fix build with GCC 13
Build was failing with:
src/translation_document.h:46:14: error: ‘uint8_t’ in namespace ‘std’ does not name a type;
Reiner Herrmann <reiner@reiner-h.de> yes 2023-06-14
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
gcc14-template-argument.patch [PATCH] Fix ignoring attributes on template argument compile warning Binrui Dong <brett.browning.dong@gmail.com> no upstream, https://github.com/CleverRaven/Cataclysm-DDA/pull/71522 2024-02-05
cleanup.patch [PATCH] Cleanup autogenerated prefix.h Reiner Herrmann <reiner@reiner-h.de> yes debian 2023-08-15

All known versions for source package 'cataclysm-dda'

Links