pkgsi686Linux.swtpm: pull upstream 64-bit file api fix (#352722)
This commit is contained in:
commit
ad6b2bb298
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user