seq66: fix build against gcc-13
Without the chnage build fails on `master` as: In file included from os/daemonize.cpp:64: ../include/os/daemonize.hpp:58:8: error: 'uint32_t' does not name a type 58 | extern uint32_t daemonize | ^~~~~~~~ ../include/os/daemonize.hpp:36:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 35 | #include "seq66_platform_macros.h" /* for detecting 32-bit builds */ +++ |+#include <cstdint> As upstream changes are quite invasive for backport I am only injecting missing headers.
This commit is contained in:
parent
2d1894e6fa
commit
5f9b9b9fea
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
||||||
for d in libseq66/include libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/include seq_rtmidi/src Seqtool/src; do
|
for d in libseq66/include libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/include seq_rtmidi/src Seqtool/src; do
|
||||||
substituteInPlace "$d/Makefile.am" --replace '$(git_info)' '${version}'
|
substituteInPlace "$d/Makefile.am" --replace '$(git_info)' '${version}'
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# gcc-13 headers compatibilty. TODO: try to remove with next version
|
||||||
|
# update
|
||||||
|
sed -e '1i #include <cstdint>' -i libseq66/src/os/daemonize.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue