libelf: 0.182

This commit is contained in:
Dylan Araps 2020-11-01 17:32:20 +02:00
parent de75252e29
commit 1b4b291178
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 3 additions and 27 deletions

View File

@ -1,7 +1,5 @@
#!/bin/sh -e
patch -p1 < musl-decls.patch
# Build sometimes forces -Werror.
export CFLAGS="$CFLAGS -Wno-error"

View File

@ -1,3 +1,2 @@
29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3
fd98976f5112b49f6469e7bd2e97d390cf90dc68392218dc713ac0449fc3e395
ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858
bf11b56670c7919b44e33b5b0f3a216b7f20cf2859b74bf5e2e837532f8e0579

View File

@ -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 <features.h>
+#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. */

View File

@ -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

View File

@ -1 +1 @@
0.181 2
0.182 1