From 626d9efa74685720020e816f3a917b7591d3cf7a Mon Sep 17 00:00:00 2001 From: James <> Date: Sat, 26 Sep 2015 12:29:31 +0100 Subject: trunk-47048 --- package/libs/elfutils/patches/004-memcpy_def.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/libs/elfutils/patches/004-memcpy_def.patch (limited to 'package/libs/elfutils/patches/004-memcpy_def.patch') 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 0000000..62e4d0c --- /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 + ++#ifndef _LIBC ++#ifndef __mempcpy ++#define __mempcpy mempcpy ++#endif ++#endif + + /* Known translation types. */ + typedef enum -- cgit v1.2.3