Merge pull request #306514 from alyssais/f2fs-tools-lfs64

This commit is contained in:
Sandro 2024-04-25 11:06:32 +02:00 committed by GitHub
commit 680c13ed09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,6 @@
{ lib, stdenv, fetchzip, autoreconfHook, libselinux, libuuid, pkg-config }:
{ lib, stdenv, fetchzip, fetchpatch
, autoreconfHook, libselinux, libuuid, pkg-config
}:
stdenv.mkDerivation rec {
pname = "f2fs-tools";
@ -12,7 +14,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libselinux libuuid ];
patches = [ ./f2fs-tools-cross-fix.patch ];
patches = [
./f2fs-tools-cross-fix.patch
(fetchpatch {
name = "lfs64.patch";
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/patch/?id=b15b6cc56ac7764be17acbdbf96448f388992adc";
hash = "sha256-9XrNf9MMMDGOsuP3DvUhm30Sa2xICDtXbUIvM/TP35o=";
})
];
meta = with lib; {
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/";