dosfstools: fix build for FreeBSD
This commit is contained in:
parent
9fe7e1cc88
commit
d530dfa987
1 changed files with 6 additions and 2 deletions
|
@ -12,12 +12,16 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# macOS build fixes backported from master
|
# macOS and FreeBSD build fixes backported from master
|
||||||
# TODO: remove on the next release
|
# TODO: remove on the next release
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/dosfstools/dosfstools/commit/77ffb87e8272760b3bb2dec8f722103b0effb801.patch";
|
url = "https://github.com/dosfstools/dosfstools/commit/77ffb87e8272760b3bb2dec8f722103b0effb801.patch";
|
||||||
sha256 = "sha256-xHxIs3faHK/sK3vAVoG8JcTe4zAV+ZtkozWIIFBvPWI=";
|
sha256 = "sha256-xHxIs3faHK/sK3vAVoG8JcTe4zAV+ZtkozWIIFBvPWI=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/dosfstools/dosfstools/commit/2d3125c4a74895eae1f66b93287031d340324524.patch";
|
||||||
|
sha256 = "nlIuRDsNjk23MKZL9cZ05odOfTXvsyQaKcv/xEr4c+U=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
||||||
|
@ -37,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = {
|
meta = {
|
||||||
description = "Utilities for creating and checking FAT and VFAT file systems";
|
description = "Utilities for creating and checking FAT and VFAT file systems";
|
||||||
homepage = "https://github.com/dosfstools/dosfstools";
|
homepage = "https://github.com/dosfstools/dosfstools";
|
||||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
platforms = lib.platforms.unix;
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue