mblaze: backport LFS64 removal

musl 1.2.4 no longer includes these functions.
This commit is contained in:
Alyssa Ross 2024-04-24 14:20:55 +02:00
parent def8887b92
commit 5acfb326a4
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ coreutils, fetchFromGitHub, file, gawk, gnugrep, gnused
{ coreutils, fetchFromGitHub, fetchpatch, file, gawk, gnugrep, gnused
, installShellFiles, lib, libiconv, makeWrapper, stdenv, ruby
}:
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-LCyw3xGsYjsbExueRHVRqoJYluji9MmZq5zGclvSSDk=";
};
patches = [
(fetchpatch {
name = "LFS64.patch";
url = "https://github.com/leahneukirchen/mblaze/commit/1babebc12c3ea8d3395f00c9607e863866c190fc.patch";
hash = "sha256-0zTMM9Ay4mo7ATqCQRJPiR7Z53MsMLeup7Fa7lsdWo8=";
})
];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;