Patchwork [11/12] elfutils: new package

login
register
mail settings
Submitter Stefan Fröberg
Date Dec. 19, 2012, 11:43 p.m.
Message ID <1355960630-25089-11-git-send-email-stefan.froberg@petroprogram.com>
Download mbox | patch
Permalink /patch/207567/
State Superseded
Headers show

Comments

Stefan Fröberg - Dec. 19, 2012, 11:43 p.m.
Just some function name aliasing to make elfutils happy

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
---
 package/elfutils/elfutils-memcpy_def.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 package/elfutils/elfutils-memcpy_def.patch

Patch

diff --git a/package/elfutils/elfutils-memcpy_def.patch b/package/elfutils/elfutils-memcpy_def.patch
new file mode 100644
index 0000000..77a037d
--- /dev/null
+++ b/package/elfutils/elfutils-memcpy_def.patch
@@ -0,0 +1,14 @@ 
+--- a/libelf/libelf.h
++++ b/libelf/libelf.h
+@@ -55,6 +55,11 @@
+ /* Get the ELF types.  */
+ #include <elf.h>
+ 
++#ifndef _LIBC
++#ifndef __mempcpy
++#define __mempcpy mempcpy
++#endif
++#endif
+ 
+ /* Known translation types.  */
+ typedef enum