gcl*: fix with updated binutils

The patch was taken from Debian; they apparently don't have a src repo.
This commit is contained in:
Vladimír Čunát
2019-02-19 18:02:29 +01:00
parent 024407bf9a
commit bdd47aaf83
2 changed files with 11 additions and 0 deletions
@@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
sha256 = "00jbsn0qp8ki2w7dx8caha7g2hr9076xa6bg48j3qqqncff93zdh";
})];
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902475
postPatch = ''
substituteInPlace h/elf64_i386_reloc.h \
--replace 'case R_X86_64_PC32:' 'case R_X86_64_PC32: case R_X86_64_PLT32:'
'';
buildInputs = [
mpfr m4 binutils emacs gmp
libX11 xorgproto libXi