Merge pull request #132014 from hrhino/fix/mkcl

mkcl: fix
This commit is contained in:
Sandro 2021-07-30 08:23:02 +00:00 committed by GitHub
commit e448b1c8be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, gmp, gcc }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, gmp, gcc }:
with lib; stdenv.mkDerivation rec {
pname = "mkcl";
@ -11,6 +11,15 @@ with lib; stdenv.mkDerivation rec {
sha256 = "0i2bfkda20lfypis6i4m7srfz6miyf66d8knp693d6sms73m2l26";
};
patches = [
# "Array sys_siglist[] never was part of the public interface. Replace it with calls to psiginfo()."
(fetchpatch {
name = "sys_siglist.patch";
url = "https://github.com/jcbeaudoin/MKCL/commit/0777dd08254c88676f4f101117b10786b22111d6.patch";
sha256 = "1dnr1jzha77nrxs22mclrcqyqvxxn6q1sfn35qjs77fi3jcinjsc";
})
];
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = [ gmp ];