aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-05-24 21:21:21 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-05-24 21:21:21 +0200
commitff01f2d29bc2fb37fca565b945fd3c4d57ec2c27 (patch)
treed5f5e8496fd72ab2738514139502d22f010d46db
parente9782eb23b555f2412cb400c6687c6277896a312 (diff)
downloadbuildroot-novena-ff01f2d29bc2fb37fca565b945fd3c4d57ec2c27.tar.gz
buildroot-novena-ff01f2d29bc2fb37fca565b945fd3c4d57ec2c27.zip
strace: fix build for arm eabi
Based on patch from gentoo bug 241168: http://bugs.gentoo.org/241168 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/strace/strace-arm-eabi-fix.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/strace/strace-arm-eabi-fix.patch b/package/strace/strace-arm-eabi-fix.patch
new file mode 100644
index 000000000..30e9d71cc
--- /dev/null
+++ b/package/strace/strace-arm-eabi-fix.patch
@@ -0,0 +1,27 @@
+From f5da8d0c38ea0eb660cb17de7aa62cda6899eb75 Mon Sep 17 00:00:00 2001
+From: ldv <ldv>
+Date: Thu, 1 Jan 2009 23:20:38 +0000
+Subject: [PATCH] 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
+
+ * linux/arm/syscallent.h: Fix build on ARM EABI which does not
+ provide syscalls socketcall and ipc.
+
+diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
+index 5ccef2f..edc3641 100644
+--- a/linux/arm/syscallent.h
++++ b/linux/arm/syscallent.h
+@@ -431,6 +431,7 @@
+ { 5, 0, printargs, "SYS_398" }, /* 398 */
+ { 5, 0, printargs, "SYS_399" }, /* 399 */
+
++#ifndef __ARM_EABI__
+ #if SYS_socket_subcall != 400
+ #error fix me
+ #endif
+@@ -481,3 +482,4 @@
+ { 4, TI, sys_shmdt, "shmdt" }, /* 440 */
+ { 4, TI, sys_shmget, "shmget" }, /* 441 */
+ { 4, TI, sys_shmctl, "shmctl" }, /* 442 */
++#endif
+--
+1.6.1.3