From cadc28f82e1d50c3089b8cc98b50efa2944a7d81 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 25 Dec 2015 15:55:49 +0100 Subject: fix ARC compile, hotfix from upstream --- package/strace/patches/patch-linux_32_syscallent_h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/strace/patches/patch-linux_32_syscallent_h (limited to 'package/strace/patches/patch-linux_32_syscallent_h') diff --git a/package/strace/patches/patch-linux_32_syscallent_h b/package/strace/patches/patch-linux_32_syscallent_h new file mode 100644 index 000000000..9d3c98a19 --- /dev/null +++ b/package/strace/patches/patch-linux_32_syscallent_h @@ -0,0 +1,17 @@ +--- strace-4.11.orig/linux/32/syscallent.h 2015-12-05 00:12:14.000000000 +0100 ++++ strace-4.11/linux/32/syscallent.h 2015-12-25 15:36:04.814035892 +0100 +@@ -1,5 +1,5 @@ +-#ifndef ARCH_mmap +-# define ARCH_mmap mmap ++#ifndef sys_ARCH_mmap ++# define sys_ARCH_mmap sys_mmap + #endif + [ 0] = { 2, 0, SEN(io_setup), "io_setup" }, + [ 1] = { 1, 0, SEN(io_destroy), "io_destroy" }, +@@ -276,5 +276,5 @@ + [283] = { 2, 0, SEN(membarrier), "membarrier", }, + [284] = { 3, TM, SEN(mlock2), "mlock2" }, + +-#undef ARCH_mmap ++#undef sys_ARCH_mmap + #undef ARCH_WANT_SYNC_FILE_RANGE2 -- cgit v1.2.3