vde2: fix build with latest openssl
This commit is contained in:
parent
9237dc588e
commit
06238ced3c
@ -8,12 +8,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl (
|
||||
fetchpatch {
|
||||
patches = [
|
||||
# Fix build with openssl 1.1.0
|
||||
(fetchpatch {
|
||||
name = "vde_cryptcab-compile-against-openssl-1.1.0.patch";
|
||||
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/vde_cryptcab-compile-against-openssl-1.1.0.patch?h=packages/vde2&id=15b11be49997fa94b603e366064690b7cc6bce61";
|
||||
sha256 = "07z1yabwigq35mkwzqa934n7vjnjlqz5xfzq8cfj87lgyjjp00qi";
|
||||
})
|
||||
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl [
|
||||
(fetchpatch {
|
||||
url = "https://git.alpinelinux.org/cgit/aports/plain/main/vde2/musl-build-fix.patch?id=ddee2f86a48e087867d4a2c12849b2e3baccc238";
|
||||
sha256 = "0b5382v541bkxhqylilcy34bh83ag96g71f39m070jzvi84kx8af";
|
||||
}
|
||||
);
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = stdenv.lib.optional (!withPython) "--disable-python";
|
||||
|
||||
|
@ -7102,9 +7102,7 @@ in
|
||||
|
||||
vbetool = callPackage ../tools/system/vbetool { };
|
||||
|
||||
vde2 = callPackage ../tools/networking/vde2 {
|
||||
openssl = openssl_1_0_2;
|
||||
};
|
||||
vde2 = callPackage ../tools/networking/vde2 { };
|
||||
|
||||
vboot_reference = callPackage ../tools/system/vboot_reference {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user