diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-06-01 13:31:12 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-06-01 13:31:12 +0000 |
commit | 93e6bcb1c02a7fb30b39b9a0a11abf28a0ee0b69 (patch) | |
tree | cb31f6b19d4a7d58ab9e822cd867b63b9714ba7c /patches/strace | |
parent | 5b6ee5d9a79177cc55da8391a3ac434b4d51fc7a (diff) | |
download | crosstool-ng-93e6bcb1c02a7fb30b39b9a0a11abf28a0ee0b69.tar.gz crosstool-ng-93e6bcb1c02a7fb30b39b9a0a11abf28a0ee0b69.tar.bz2 crosstool-ng-93e6bcb1c02a7fb30b39b9a0a11abf28a0ee0b69.zip |
/devel/gcc-4.4:
- fix building strace-4.5.18
-------- diffstat follows --------
/devel/gcc-4.4/patches/strace/4.5.18/180-arm-EABI-syscalls.patch | 23 23 0 0 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
Diffstat (limited to 'patches/strace')
-rw-r--r-- | patches/strace/4.5.18/180-arm-EABI-syscalls.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/strace/4.5.18/180-arm-EABI-syscalls.patch b/patches/strace/4.5.18/180-arm-EABI-syscalls.patch new file mode 100644 index 00000000..1f284500 --- /dev/null +++ b/patches/strace/4.5.18/180-arm-EABI-syscalls.patch @@ -0,0 +1,23 @@ +Patch from upstream: +http://strace.cvs.sourceforge.net/viewvc/strace/strace/linux/arm/syscallent.h?r1=1.17&r2=1.18&sortby=file + +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. + +--- strace-4.5.18.orig/linux/arm/syscallent.h 2008/12/29 20:04:15 1.17 ++++ strace-4.5.18/linux/arm/syscallent.h 2009/01/01 23:20:38 1.18 +@@ -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 |