python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / elfutils / 0006-memcpy-def.patch
blob509482774c77a6572ef8d2ea9ae087bc2bedbfe6
1 Provide a compatibility alias __memcpy
3 For some reason, libelf uses the internal glibc alias __memcpy, which
4 doesn't exist in uClibc. Add a manual alias so that the build can
5 proceed with uClibc.
7 Based on the former patch by Thomas Petazzoni.
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
12 diff -rup a/libelf/libelf.h b/libelf/libelf.h
13 --- a/libelf/libelf.h 2014-08-27 10:25:17.000000000 +0100
14 +++ b/libelf/libelf.h 2014-11-07 15:13:08.743508221 +0000
15 @@ -34,6 +34,11 @@
16 /* Get the ELF types. */
17 #include <elf.h>
19 +#ifndef _LIBC
20 +#ifndef __mempcpy
21 +#define __mempcpy mempcpy
22 +#endif
23 +#endif
25 /* Known translation types. */
26 typedef enum