summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-linux_32_syscallent_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-25 15:55:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-25 15:55:49 +0100
commitcadc28f82e1d50c3089b8cc98b50efa2944a7d81 (patch)
treed586f5b06af65a9646f710be95c259361b59ace4 /package/strace/patches/patch-linux_32_syscallent_h
parent33756497d46c61946047a43a09c1944f9ba0b026 (diff)
fix ARC compile, hotfix from upstream
Diffstat (limited to 'package/strace/patches/patch-linux_32_syscallent_h')
-rw-r--r--package/strace/patches/patch-linux_32_syscallent_h17
1 files changed, 17 insertions, 0 deletions
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