aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/004-memcpy_def.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:40 +0000
commitb98fb7664639a814f3dba309eaf38b62be137bb8 (patch)
treeb475c55359ccce71152e3c81c6e72174c1c137f9 /package/libs/elfutils/patches/004-memcpy_def.patch
parentb7b855f9ebab26effce3af440d011fbe856df52b (diff)
downloadupstream-b98fb7664639a814f3dba309eaf38b62be137bb8.tar.gz
upstream-b98fb7664639a814f3dba309eaf38b62be137bb8.tar.bz2
upstream-b98fb7664639a814f3dba309eaf38b62be137bb8.zip
elfutils: import package from packages.git
elfutils is required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45969
Diffstat (limited to 'package/libs/elfutils/patches/004-memcpy_def.patch')
-rw-r--r--package/libs/elfutils/patches/004-memcpy_def.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libs/elfutils/patches/004-memcpy_def.patch b/package/libs/elfutils/patches/004-memcpy_def.patch
new file mode 100644
index 0000000000..62e4d0ca93
--- /dev/null
+++ b/package/libs/elfutils/patches/004-memcpy_def.patch
@@ -0,0 +1,14 @@
+--- 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