diff options
author | qolii <36613499+qolii@users.noreply.github.com> | 2018-06-03 18:43:34 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-06-03 18:43:34 +0000 |
commit | a4e53b64d0e771fc907c61ece903c8ca66ba42ed (patch) | |
tree | ef01ab47e2c1ffaadcb74c23eddef9be4bc78136 /pkgs/development/libraries/libevent | |
parent | 20d83e286db2301b4801e7655073a9e817f82ae8 (diff) | |
download | nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar.gz nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar.bz2 nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar.lz nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar.xz nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.tar.zst nixpkgs-a4e53b64d0e771fc907c61ece903c8ca66ba42ed.zip |
libevent: add patches to support LibreSSL 2.7 (#41386)
Diffstat (limited to 'pkgs/development/libraries/libevent')
-rw-r--r-- | pkgs/development/libraries/libevent/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix index b74e64aa849..d58702a18ea 100644 --- a/pkgs/development/libraries/libevent/default.nix +++ b/pkgs/development/libraries/libevent/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, findutils, fixDarwinDylibNames +{ stdenv, fetchurl, fetchpatch, findutils, fixDarwinDylibNames , sslSupport? true, openssl }: @@ -13,6 +13,18 @@ stdenv.mkDerivation rec { 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 # in the default closure. outputs = [ "out" "dev" ] |