daemontools: fix build with gcc15
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user