aboutsummaryrefslogtreecommitdiff
path: root/package/elfutils/0003-memcpy-def.patch
diff options
context:
space:
mode:
authorGravatar Vicente Olivert Riera <Vincent.Riera@imgtec.com>2014-11-11 11:47:44 +0000
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-19 22:52:32 +0100
commit15e06dc473c6ac7ccbae3171be9f3211d5d1f1a1 (patch)
treeea85a1c03045e2a4e37387491218f531b9428660 /package/elfutils/0003-memcpy-def.patch
parent0664897fb6fc2093c7e7042d78ada5e88499f22f (diff)
downloadbuildroot-15e06dc473c6ac7ccbae3171be9f3211d5d1f1a1.tar.gz
buildroot-15e06dc473c6ac7ccbae3171be9f3211d5d1f1a1.tar.bz2
elfutils: bump version to 0.160
- Bump version to 0.160 - Add a hash file - Adapt patches to the new version - Add a new patch to really make -Werror conditional to BUILD_WERROR Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/elfutils/0003-memcpy-def.patch')
-rw-r--r--package/elfutils/0003-memcpy-def.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/elfutils/0003-memcpy-def.patch b/package/elfutils/0003-memcpy-def.patch
index eb50cf654d..509482774c 100644
--- a/package/elfutils/0003-memcpy-def.patch
+++ b/package/elfutils/0003-memcpy-def.patch
@@ -4,21 +4,23 @@ For some reason, libelf uses the internal glibc alias __memcpy, which
doesn't exist in uClibc. Add a manual alias so that the build can
proceed with uClibc.
+Based on the former patch by Thomas Petazzoni.
+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Index: b/libelf/libelf.h
-===================================================================
---- a/libelf/libelf.h
-+++ b/libelf/libelf.h
+diff -rup a/libelf/libelf.h b/libelf/libelf.h
+--- a/libelf/libelf.h 2014-08-27 10:25:17.000000000 +0100
++++ b/libelf/libelf.h 2014-11-07 15:13:08.743508221 +0000
@@ -34,6 +34,11 @@
/* Get the ELF types. */
#include <elf.h>
-
+
+#ifndef _LIBC
+#ifndef __mempcpy
+#define __mempcpy mempcpy
+#endif
+#endif
-
+
/* Known translation types. */
typedef enum