libfaketime: backport LFS64 fix for musl 1.2.4 (#313663)

This is a very disappointing fix, as all it's doing is switching to
another deprecated API, and kicking the can down the road, but if
that's what upstream wants to do…
This commit is contained in:
Alyssa Ross
2024-05-22 14:16:15 +02:00
committed by GitHub
parent 985c7f2729
commit 82ea1a7345

View File

@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
url = "https://github.com/wolfcw/libfaketime/commit/e0e6b79568d36a8fd2b3c41f7214769221182128.patch";
sha256 = "sha256-KwwP76v0DXNW73p/YBvwUOPdKMAcVdbQSKexD/uFOYo=";
})
(fetchpatch {
name = "LFS64.patch";
url = "https://github.com/wolfcw/libfaketime/commit/f32986867addc9d22b0fab29c1c927f079d44ac1.patch";
hash = "sha256-fIXuxxcV9J2IcgwcwSrMo4maObkH9WYv1DC/wdtbq/g=";
})
] ++ (lib.optionals stdenv.cc.isClang [
# https://github.com/wolfcw/libfaketime/issues/277
./0001-Remove-unsupported-clang-flags.patch