daemontools: fix build with gcc15 (#478921)

This commit is contained in:
Kevin Cox
2026-01-11 14:22:32 +00:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
cd daemontools-${version}
sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h_' src/conf-cc
sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h -std=gnu17_' src/conf-cc
substituteInPlace src/Makefile \
--replace-fail '/bin/sh' '${bash}/bin/bash -oxtrace'