Without the change the build fails on `master` as https://hydra.nixos.org/build/247665202:
/build/source/src/shell/lean_js.h:11:32: error: 'uintptr_t' was not declared in this scope
11 | int emscripten_process_request(uintptr_t msg);
| ^~~~~~~~~
Without the change build fails on `master as
https://hydra.nixos.org/build/248985028:
In file included from /build/source/vowpalwabbit/core/src/named_labels.cc:5:
/build/source/vowpalwabbit/core/include/vw/core/named_labels.h:28:3: error: 'uint32_t' does not name a type
28 | uint32_t getK() const;
| ^~~~~~~~
Without the change build fails on `master` as
https://hydra.nixos.org/build/249164637:
In file included from Histogram.cpp:1:
Histogram.h:104:61: error: 'uint32_t' does not name a type
104 | Histogram(const int32_t& start, const int32_t& end, const uint32_t& width);
| ^~~~~~~~
Without the change build fails on `master` as
https://hydra.nixos.org/build/247580552:
/build/source/src/openboardview/FileFormats/FZFile.h:69:40: error: 'uint32_t' has not been declared
69 | FZFile(std::vector<char> &buf, uint32_t fzkey[44]);
| ^~~~~~~~
Without the change build fails on `master` against `gcc-13` as
https://hydra.nixos.org/build/247673319:
In file included from /build/source/src/main_local_assemble.cpp:27:
/build/source/src/localasm/local_assemble.h:31:3: error: 'uint32_t' does not name a type
31 | uint32_t kmin{11};
| ^~~~~~~~
/build/source/src/localasm/local_assemble.h:1:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
+++ |+#include <cstdint>
Among other things fixes `gcc-13` build fix as
https://hydra.nixos.org/build/247554470:
In file included from /build/mcrl2-202206.1/libraries/utilities/source/bitstream.cpp:10:
/build/mcrl2-202206.1/libraries/utilities/include/mcrl2/utilities/bitstream.h:56:25: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
56 | void write(const std::uint8_t* buffer, std::size_t size);
| ^~~~~~~
| wint_t
Without the change the build fails on `master` as
https://hydra.nixos.org/build/247636021:
/build/source/include/stp/AST/ASTNode.h:77:3: error: 'uint8_t' does not name a type
77 | uint8_t getIteration() const;
| ^~~~~~~
The build of `hh-suite` stopped working with GCC 13 because
GCC stopped transitively including a couple of headers like
`cstdint` in various scenarios.
There already is an upstream PR proposed that fixes this issue [1]
but hasn't been merged yet. This change pulls in this correction
using `fetchpatch`, fixing the build for now.
[1]: https://github.com/soedinglab/hh-suite/pull/357