From 1b4b291178a2655753cc870523ce2c01127854a8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 1 Nov 2020 17:32:20 +0200 Subject: [PATCH] libelf: 0.182 --- extra/libelf/build | 2 -- extra/libelf/checksums | 3 +-- extra/libelf/patches/musl-decls.patch | 20 -------------------- extra/libelf/sources | 3 +-- extra/libelf/version | 2 +- 5 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 extra/libelf/patches/musl-decls.patch diff --git a/extra/libelf/build b/extra/libelf/build index 5704a9db..19113e3c 100755 --- a/extra/libelf/build +++ b/extra/libelf/build @@ -1,7 +1,5 @@ #!/bin/sh -e -patch -p1 < musl-decls.patch - # Build sometimes forces -Werror. export CFLAGS="$CFLAGS -Wno-error" diff --git a/extra/libelf/checksums b/extra/libelf/checksums index e7d57b50..f1c0fc9d 100644 --- a/extra/libelf/checksums +++ b/extra/libelf/checksums @@ -1,3 +1,2 @@ -29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3 -fd98976f5112b49f6469e7bd2e97d390cf90dc68392218dc713ac0449fc3e395 +ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858 bf11b56670c7919b44e33b5b0f3a216b7f20cf2859b74bf5e2e837532f8e0579 diff --git a/extra/libelf/patches/musl-decls.patch b/extra/libelf/patches/musl-decls.patch deleted file mode 100644 index e3705695..00000000 --- a/extra/libelf/patches/musl-decls.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/libelf/elf.h 2015-08-21 14:22:37.000000000 +0200 -+++ b/libelf/elf.h 2015-11-20 04:54:33.948081321 +0100 -@@ -21,6 +21,17 @@ - - #include - -+#if !defined(__GLIBC__) -+/* C++ needs to know that types and declarations are C, not C++. */ -+#ifdef __cplusplus -+# define __BEGIN_DECLS extern "C" { -+# define __END_DECLS } -+#else -+# define __BEGIN_DECLS -+# define __END_DECLS -+#endif -+#endif -+ - __BEGIN_DECLS - - /* Standard ELF types. */ diff --git a/extra/libelf/sources b/extra/libelf/sources index 9b61d831..71eb0aea 100644 --- a/extra/libelf/sources +++ b/extra/libelf/sources @@ -1,3 +1,2 @@ -https://sourceware.org/elfutils/ftp/0.181/elfutils-0.181.tar.bz2 -patches/musl-decls.patch +https://sourceware.org/elfutils/ftp/0.182/elfutils-0.182.tar.bz2 files/error.h lib diff --git a/extra/libelf/version b/extra/libelf/version index f0f0367e..c62d59ae 100644 --- a/extra/libelf/version +++ b/extra/libelf/version @@ -1 +1 @@ -0.181 2 +0.182 1