libevent: add patches to support LibreSSL 2.7 (#41386)
This commit is contained in:
parent
20d83e286d
commit
a4e53b64d0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, findutils, fixDarwinDylibNames
|
{ stdenv, fetchurl, fetchpatch, findutils, fixDarwinDylibNames
|
||||||
, sslSupport? true, openssl
|
, sslSupport? true, openssl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,6 +13,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1hhxnxlr0fsdv7bdmzsnhdz16fxf3jg2r6vyljcl3kj6pflcap4n";
|
sha256 = "1hhxnxlr0fsdv7bdmzsnhdz16fxf3jg2r6vyljcl3kj6pflcap4n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#NOTE: Patches to support libressl-2.7. These are taken from libevent upstream, and can both be dropped with the next release.
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/libevent/libevent/commit/22dd14945c25600de3cf8b91000c66703b551e4f.patch";
|
||||||
|
sha256 = "0lbr3723chycslk1vbb7rkppwckqkcbvvl0xgh31nki612dl9xsk";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/libevent/libevent/commit/28b8075400c70b2d2da2ce07e590c2ec6d11783d.patch";
|
||||||
|
sha256 = "0as1vkqwpxs4rjimgv8ap7gvljkizdh0ayl0wrq80zpfzvnrb6db";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# libevent_openssl is moved into its own output, so that openssl isn't present
|
# libevent_openssl is moved into its own output, so that openssl isn't present
|
||||||
# in the default closure.
|
# in the default closure.
|
||||||
outputs = [ "out" "dev" ]
|
outputs = [ "out" "dev" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user