pkgsi686Linux.swtpm: pull upstream 64-bit file api fix (#352722)

This commit is contained in:
Vladimír Čunát 2024-11-07 11:08:32 +01:00
commit ad6b2bb298
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, libtasn1, openssl, fuse, glib, libseccomp, json-glib
@ -25,6 +26,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-48/BOzGPoKr/BGEXFo3FXWr6ZoPB+ixZIvv78g6L294=";
};
patches = [
# Enable 64-bit file API on 32-bit systems:
# https://github.com/stefanberger/swtpm/pull/941
(fetchpatch {
name = "64-bit-file-api.patch";
url = "https://github.com/stefanberger/swtpm/commit/599e2436d4f603ef7c83fad11d76b5546efabefc.patch";
hash = "sha256-cS/BByOJeNNevQ1B3Ij1kykJwixVwGoikowx7j9gRmA=";
})
];
nativeBuildInputs = [
pkg-config unixtools.netstat expect socat
perl # for pod2man