time: fix compilation against gcc15 (#442631)

This commit is contained in:
Emily
2025-09-13 21:08:14 +01:00
committed by GitHub
+6
View File
@@ -1,6 +1,7 @@
{
lib,
stdenv,
fetchpatch,
fetchurl,
}:
@@ -16,6 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# fixes cross-compilation to riscv64-linux
./time-1.9-implicit-func-decl-clang.patch
# fix compilation with gcc15
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/time/raw/191440912c2e9a63af87802e507ca3ccb923e805/f/time-1.9-Fix-compiling-with-GCC15.patch";
hash = "sha256-4Qp3mV8XuCmz518GPtrW52gyaPOb+97RE6FDPKNCyJw=";
})
];
meta = {