aboutsummaryrefslogtreecommitdiff
path: root/package/elfutils/0003-memcpy-def.patch
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-12-01 10:24:35 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-01 14:28:37 +0100
commitbc92e491f1bfc2a20e5a533e61b1d2de79855544 (patch)
tree9ec7de03a9af614a35450c13a482b35adc66ff6c /package/elfutils/0003-memcpy-def.patch
parent789fc2dc3293a6fd7b8d2374ef71c11f1adfc820 (diff)
downloadbuildroot-bc92e491f1bfc2a20e5a533e61b1d2de79855544.tar.gz
buildroot-bc92e491f1bfc2a20e5a533e61b1d2de79855544.tar.bz2
elfutils: download portability patch
Download the portability patch into the buildroot tree. This isn't nice but there really isn't another good solution for it. The elfutils-portability.patch is version-dependent hence we already have an older version for an older version of elfutils in the mirrors. This causes hash check failures when fetching from sources.buildroot.net But we can't remove (hence replace) the old version with the new one since this would causee issues with older versions of buildroot/elfutils for the same scenario. Fixes: http://autobuild.buildroot.net/results/26a/26afb92dc14fd0f85c0800dd4e034ea86af19fe2/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/elfutils/0003-memcpy-def.patch')
-rw-r--r--package/elfutils/0003-memcpy-def.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/elfutils/0003-memcpy-def.patch b/package/elfutils/0003-memcpy-def.patch
deleted file mode 100644
index 509482774c..0000000000
--- a/package/elfutils/0003-memcpy-def.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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.
-
-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>
-
-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