rcs: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/153235059
This commit is contained in:
Maximilian Bosch 2021-09-18 20:09:57 +02:00
parent 0caf7e5f0c
commit 96418eb0e7
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Q93+EHJKi4XiRo9kA7YABzcYbwHmDgvWL95p2EIjTMU=";
};
patches = [
# glibc 2.34 compat
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/rcs/raw/f8e07cd37f4abfb36e37d41852bb8f9e234d3fb1/f/rcs-5.10.0-SIGSTKSZ.patch";
sha256 = "sha256-mc6Uye9mdEsLBcOnf1m1TUb1BV0ncNU//iKBpLGBjho=";
})
];
ac_cv_path_ED = "${ed}/bin/ed";
DIFF = "${diffutils}/bin/diff";
DIFF3 = "${diffutils}/bin/diff3";