diff options
author | Harrison Houghton <hora.rhino@gmail.com> | 2021-07-29 22:16:40 -0400 |
---|---|---|
committer | Harrison Houghton <hora.rhino@gmail.com> | 2021-07-29 22:16:40 -0400 |
commit | 1060845f565425109efa12629c367e76595375bd (patch) | |
tree | 1c9a555c92e66fcfbb23b0fecba2013d6105461c /pkgs/development/compilers/mkcl | |
parent | bbb988a5c66a42f5155f914d43aab7ea676de4d0 (diff) |
mkcl: fix
A recent glibc update removed the deprecated/non-standard const char *const sys_siglist[]; array which contained textual descriptions of the various signal codes. The attached patch is merged to master but has not yet been released.
Diffstat (limited to 'pkgs/development/compilers/mkcl')
-rw-r--r-- | pkgs/development/compilers/mkcl/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/compilers/mkcl/default.nix b/pkgs/development/compilers/mkcl/default.nix index 3656f1e0dd82e..181c75c81b011 100644 --- a/pkgs/development/compilers/mkcl/default.nix +++ b/pkgs/development/compilers/mkcl/default.nix @@ -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 ]; |