diff options
author | 2014-11-11 11:47:43 +0000 | |
---|---|---|
committer | 2014-11-19 22:52:11 +0100 | |
commit | 0664897fb6fc2093c7e7042d78ada5e88499f22f (patch) | |
tree | e33f98ad54d41bebfa0bbc91dbd91b80d5f2afb6 /package/elfutils/0003-memcpy-def.patch | |
parent | ba992db9764a76e972f91dfd506060df6835e679 (diff) | |
download | buildroot-0664897fb6fc2093c7e7042d78ada5e88499f22f.tar.gz buildroot-0664897fb6fc2093c7e7042d78ada5e88499f22f.tar.bz2 |
elfutils: rename patches to follow the new name structure
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/elfutils/0003-memcpy-def.patch b/package/elfutils/0003-memcpy-def.patch new file mode 100644 index 0000000000..eb50cf654d --- /dev/null +++ b/package/elfutils/0003-memcpy-def.patch @@ -0,0 +1,24 @@ +Provide a compatibility alias __memcpy + +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. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/libelf/libelf.h +=================================================================== +--- a/libelf/libelf.h ++++ b/libelf/libelf.h +@@ -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 |