daemontools: fix build with gcc15

This commit is contained in:
Ryan Hendrickson
2026-01-10 23:24:57 -05:00
parent 3497aa5c94
commit 47b7700d55
+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'