disk_indicator: fix build with gcc15 (#508538)

This commit is contained in:
Peder Bergebakken Sundt
2026-04-10 18:39:37 +00:00
committed by GitHub
@@ -23,6 +23,8 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace "-Werror" ""
# avoid host-specific options
substituteInPlace Makefile --replace "-march=native" ""
# fix signal handler signature
substituteInPlace src/main.c --replace-fail "void handle_signal()" "void handle_signal(int sig)"
'';
postConfigure = ''