nixpkgs/pkgs
aszlig 8f793ce6bb
elfutils: Fix header compatibility with glibc 2.21
Regression introduced by df2b9b48cb.

This breaks the build for ltrace and other programs using libelf,
because the header file relies on features from glibc >= 2.22.

Here is an excerpt from the log output of the configure script from
ltrace:

In file included from ...elfutils-0.165/include/gelf.h:32:0,
                 from conftest.c:57:
...elfutils-0.165/include/libelf.h:280:8: error: unknown type name 'Elf32_Chdr'
 extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn);
        ^
...elfutils-0.165/include/libelf.h:281:8: error: unknown type name 'Elf64_Chdr'
 extern Elf64_Chdr *elf64_getchdr (Elf_Scn *__scn);
        ^
In file included from conftest.c:57:0:
...elfutils-0.165/include/gelf.h:89:9: error: unknown type name 'Elf64_Chdr'
 typedef Elf64_Chdr GElf_Chdr;
         ^

The issue has been reported in the Debian bug tracker at
https://bugs.debian.org/810885 and I'm using the patch from Mark
Wielaard that has been posted there which adds compatibility for older
glibc versions.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-01-16 01:37:37 +01:00
..
applications calibre: 2.48.0 -> 2.49.0 2016-01-15 21:36:23 +01:00
build-support separateDebugInfo: Create symlinks matching original binaries 2016-01-15 16:16:11 +01:00
data Merge pull request #12394 from rasendubi/terminess 2016-01-15 22:45:34 +03:00
desktops cinnamon: remove dead packages 2016-01-14 23:55:47 +01:00
development elfutils: Fix header compatibility with glibc 2.21 2016-01-16 01:37:37 +01:00
games steam: propagate runtime-wrapped flags for more convenient overrides 2016-01-15 15:01:55 +03:00
misc phantomjs2: build on darwin 2016-01-12 21:52:49 -08:00
os-specific linuxConsoleTools: 1.4.8 -> 1.4.9 2016-01-15 21:36:23 +01:00
servers Add rt and perl packages it needs 2016-01-15 12:05:43 -05:00
shells fish: fix merge conflict 2016-01-05 23:32:29 +01:00
stdenv stdenv-darwin: allow easier testing of bootstrap tools 2016-01-03 21:47:09 -05:00
test
tools azure-cli: fix dependencies 2016-01-16 00:33:03 +02:00
top-level Add rt and perl packages it needs 2016-01-15 12:05:43 -05:00