mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
xar: fix to work on openssl 1.1.x
This commit is contained in:
parent
051061d577
commit
e26a3fd2de
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libxml2, lzma, openssl, zlib, bzip2, fts }:
|
||||
{ stdenv, fetchurl, libxml2, lzma, openssl, zlib, bzip2, fts, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.1";
|
||||
|
@ -9,7 +9,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0ghmsbs6xwg1092v7pjcibmk5wkyifwxw6ygp08gfz25d2chhipf";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 lzma openssl zlib bzip2 fts ];
|
||||
buildInputs = [ libxml2 lzma openssl zlib bzip2 fts autoconf ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace 'OpenSSL_add_all_ciphers' 'OPENSSL_init_crypto' \
|
||||
--replace 'openssl/evp.h' 'openssl/crypto.h'
|
||||
'';
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = {
|
||||
homepage = https://mackyle.github.io/xar/;
|
||||
|
|
Loading…
Reference in a new issue