diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-01-13 16:54:04 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-01-13 16:54:53 +0000 |
commit | 5f9b9b9fea9c7c7c20faaa7e3f51aa378ea9b9c4 (patch) | |
tree | 856ce0e8a0693bf9752b1936bf00b6091a8d451b /pkgs/applications/audio | |
parent | 2d1894e6faf5c7f2ddc6859e707c55b149899ab3 (diff) |
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.
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/seq66/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/audio/seq66/default.nix b/pkgs/applications/audio/seq66/default.nix index 0132b96790043..14fc4075e3776 100644 --- a/pkgs/applications/audio/seq66/default.nix +++ b/pkgs/applications/audio/seq66/default.nix @@ -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 substituteInPlace "$d/Makefile.am" --replace '$(git_info)' '${version}' 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; |