Merge pull request #37816 from dtzWill/fix/vde2-musl

vde2: musl patch
This commit is contained in:
Will Dietz 2018-03-25 20:35:11 -05:00 committed by GitHub
commit 0f33611c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, libpcap, python2 }:
{ stdenv, fetchurl, fetchpatch, openssl, libpcap, python2 }:
stdenv.mkDerivation rec {
name = "vde2-2.3.2";
@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
sha256 = "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2";
};
patches = 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";
}
);
buildInputs = [ openssl libpcap python2 ];
hardeningDisable = [ "format" ];