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 {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.6.1";
|
version = "1.6.1";
|
||||||
@ -9,7 +9,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ghmsbs6xwg1092v7pjcibmk5wkyifwxw6ygp08gfz25d2chhipf";
|
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 = {
|
meta = {
|
||||||
homepage = https://mackyle.github.io/xar/;
|
homepage = https://mackyle.github.io/xar/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user