dog: fix build with gcc14 (#393822)

This commit is contained in:
Aleksana
2025-03-28 19:04:12 +08:00
committed by GitHub
+2 -1
View File
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace Makefile \
--replace "gcc" "$CC"
--replace-fail "gcc" "$CC"
sed -i '40i #include <time.h>' dog.c
'';
installPhase = ''