nixpkgs/pkgs/development
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
..
arduino platformio: init at 2.7.0 2016-01-06 04:09:52 -05:00
compilers ghc-8.0.1: drop unused docbooc-related build inputs 2016-01-15 20:47:58 +01:00
coq-modules coq-interval: 2.1.0 -> 2.2.1 2016-01-06 09:35:05 +01:00
dotnet-modules/patches Lay down the foundation for packaging the .NET echosystem 2015-06-06 09:06:22 -04:00
eclipse ecj: require jdk7 instead of jdk 2015-07-27 17:37:37 +02:00
erlang-modules Add shell env to buildHex packages. 2015-12-19 00:07:54 +01:00
go-modules Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
guile-modules guile-gnome-platform: 2.16.1 -> 2015/01/23 git 2015-07-23 04:13:03 -05:00
haskell-modules hackage-packages.nix: update Haskell package set 2016-01-15 20:47:58 +01:00
idris-modules idris-wl-pprint: Use fetchFromGitHub 2015-11-28 05:53:50 -05:00
interpreters Merge #12299: make firefox-like browsers wrapped by default 2016-01-15 08:53:58 +01:00
libraries telepathy-qt: finish the of fix parallel build 2016-01-15 19:55:06 +01:00
lisp-modules asdf: 3.1.5 -> 3.1.6 2016-01-01 12:30:17 +03:00
lua-modules
misc avr-gcc-with-avr-libc: remove unused gcc-4.6 patch 2015-02-22 12:41:14 +01:00
mobile titaniumsdk: bump to version 5.1.2 2016-01-13 10:49:34 +00:00
ocaml-modules ocaml-pcre: use buildOcaml 2016-01-06 20:00:20 +01:00
perl-modules perl-DBIx-Class: fix tests 2015-11-30 14:50:42 +01:00
pharo pharo-vm: Refactor to introduce new VMs (close #12388) 2016-01-15 09:29:11 +01:00
pure-modules x11: replace its usage by xlibsWrapper directly 2015-09-15 12:08:24 +02:00
python-modules Merge pull request #12214 from FRidh/numpy 2016-01-15 17:23:03 +01:00
qtcreator qtcreator: Qt 5 infrastructure update 2015-12-20 07:56:53 -06:00
r-modules R: fix Darwin build 2016-01-06 22:20:40 +01:00
ruby-modules
tools elfutils: Fix header compatibility with glibc 2.21 2016-01-16 01:37:37 +01:00
web update xcode patches for node v0.10.41 2016-01-09 14:38:37 -08:00