yara: backport LFS64 removal

These functions have been removed in musl 1.2.4.
This commit is contained in:
Alyssa Ross 2024-04-24 15:04:18 +02:00
parent 71b4a60386
commit 581f350083
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pcre
, pkg-config
@ -24,6 +25,14 @@ stdenv.mkDerivation rec {
hash = "sha256-AecHsUBtBleUkWuYMQ4Tx/PY8cs9j7JwqncBziJD0hA=";
};
patches = [
(fetchpatch {
name = "LFS64.patch";
url = "https://github.com/VirusTotal/yara/commit/833a580430abe0fbc9bc17a21fb95bf36dacf367.patch";
hash = "sha256-EmwyDsxaNd9zfpAOu6ZB9kzg04qB7LAD7UJB3eAuKd8=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config