packages/libs/elfutils/patches/004-memcpy_def.patch
Luiz Angelo Daros de Luca 5313490216 elfutils: imported from oldpackages, updated to 0.160
The pkg was imported from oldpackages.
It was updated to latest version, requiring some fixes in patches.

I added myself as maintainer.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-12-16 14:03:25 -02:00

14 lines
236 B
Diff

--- 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