djbdns: fix build with gcc15 (#478924)

This commit is contained in:
Rick van Schijndel
2026-01-11 15:20:22 +00:00
committed by GitHub
+1 -1
View File
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
];
postPatch = ''
echo gcc -O2 -include ${glibc.dev}/include/errno.h > conf-cc
echo gcc -O2 -include ${glibc.dev}/include/errno.h -std=gnu17 > conf-cc
echo $out > conf-home
# djbdns ships with an outdated list of root servers
awk '/^.?.ROOT-SERVERS.NET/ { print $4 }' ${dns-root-data}/root.hints > dnsroots.global