epic5: add patch for openssl 1.1

This commit is contained in:
Robin Gloster 2017-04-29 12:30:22 +02:00
parent c7e74ff726
commit b703df2d4c
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl, coreutils }:
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl, coreutils, fetchpatch }:
stdenv.mkDerivation rec {
name = "epic5-${version}";
@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ncurses ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv tcl ];
patches = [
(fetchpatch {
url = "https://sources.debian.net/data/main/e/epic5/2.0.1-1/debian/patches/openssl-1.1.patch";
sha256 = "03bpsyv1sr5icajs2qkdvv8nnn6rz6yvvj7pgiq8gz9sbp6siyfv";
})
];
configureFlags = [ "--disable-debug" "--with-ipv6" ];
postConfigure = ''