Merge pull request #145782 from trofi/update-elfutils

elfutils: 0.185 -> 0.186
This commit is contained in:
Jörg Thalheim 2021-11-14 11:35:28 +00:00 committed by GitHub
commit 6dba3177c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 18 deletions

View File

@ -7,16 +7,15 @@
# TODO: Look at the hardcoded paths to kernel, modules etc. # TODO: Look at the hardcoded paths to kernel, modules etc.
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elfutils"; pname = "elfutils";
version = "0.185"; version = "0.186";
src = fetchurl { src = fetchurl {
url = "https://sourceware.org/elfutils/ftp/${version}/${pname}-${version}.tar.bz2"; url = "https://sourceware.org/elfutils/ftp/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-3I0+dKsglGXn9Wjhs7uaWhQvhlbitX0QBJpz2irmtaY="; sha256 = "sha256-f2+5FJsWc9ONkXig0+D7ih7E9TqfTC/4lGlgmHlkEXc=";
}; };
patches = [ patches = [
./debug-info-from-env.patch ./debug-info-from-env.patch
./musl-cdefs_h.patch
(fetchpatch { (fetchpatch {
name = "fix-aarch64_fregs.patch"; name = "fix-aarch64_fregs.patch";
url = "https://git.alpinelinux.org/aports/plain/main/elfutils/fix-aarch64_fregs.patch?id=2e3d4976eeffb4704cf83e2cc3306293b7c7b2e9"; url = "https://git.alpinelinux.org/aports/plain/main/elfutils/fix-aarch64_fregs.patch?id=2e3d4976eeffb4704cf83e2cc3306293b7c7b2e9";

View File

@ -1,15 +0,0 @@
# avoids a warning about including an internal header when
# compiling with musl-libc
diff -crb --new-file a/lib/fixedsizehash.h b/lib/fixedsizehash.h
*** a/lib/fixedsizehash.h 2020-06-11 11:37:46.000000000 -0400
--- b/lib/fixedsizehash.h 2021-01-21 05:52:59.000000000 -0500
***************
*** 30,36 ****
#include <errno.h>
#include <stdlib.h>
#include <string.h>
- #include <sys/cdefs.h>
#include <system.h>
--- 30,35 ----