diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-25 11:05:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-25 11:05:50 +0000 |
commit | 20af9ba6fa7270f6533e896a1b97378012a687c9 (patch) | |
tree | fde01a8a7a8c23d33883f2987891f62f4f13cb7c /package/devel/strace/patches/001-upstream-musl_includes.patch | |
parent | 3fc9fc7a53431eaadbb11f4bb80766553c2b72c9 (diff) | |
download | master-187ad058-20af9ba6fa7270f6533e896a1b97378012a687c9.tar.gz master-187ad058-20af9ba6fa7270f6533e896a1b97378012a687c9.tar.bz2 master-187ad058-20af9ba6fa7270f6533e896a1b97378012a687c9.zip |
strace: update to 4.10
- include upstream fixes for musl compatibility
Include <sys/stat.h> for S_I* macros
d34e00b293942b1012ddc49ed3ab379a32337611
Include <linux/ioctl.h> for _IOC_* macros
3460dc486d333231998de0f19918204aacee9ae3
strace 4.8 is broken with musl on some arch
(arm: omap,oxnas according to buildbot)
compile tested only
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46124 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/devel/strace/patches/001-upstream-musl_includes.patch')
-rw-r--r-- | package/devel/strace/patches/001-upstream-musl_includes.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/package/devel/strace/patches/001-upstream-musl_includes.patch b/package/devel/strace/patches/001-upstream-musl_includes.patch new file mode 100644 index 0000000000..a35d7fd5a7 --- /dev/null +++ b/package/devel/strace/patches/001-upstream-musl_includes.patch @@ -0,0 +1,53 @@ +--- a/evdev.c ++++ b/evdev.c +@@ -28,6 +28,8 @@ + + #include "defs.h" + ++#include <linux/ioctl.h> ++ + #ifdef HAVE_LINUX_INPUT_H + #include <linux/input.h> + #include "xlat/evdev_abs.h" +--- a/ioctl.c ++++ b/ioctl.c +@@ -29,7 +29,7 @@ + */ + + #include "defs.h" +-#include <asm/ioctl.h> ++#include <linux/ioctl.h> + #include "xlat/ioctl_dirs.h" + + #ifdef HAVE_LINUX_INPUT_H +--- a/ioctlsort.c ++++ b/ioctlsort.c +@@ -33,7 +33,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <asm/ioctl.h> ++#include <linux/ioctl.h> + + struct ioctlent { + const char *info; +--- a/mknod.c ++++ b/mknod.c +@@ -1,6 +1,7 @@ + #include "defs.h" + + #include <fcntl.h> ++#include <sys/stat.h> + + #ifdef MAJOR_IN_SYSMACROS + # include <sys/sysmacros.h> +--- a/printmode.c ++++ b/printmode.c +@@ -1,6 +1,7 @@ + #include "defs.h" + + #include <fcntl.h> ++#include <sys/stat.h> + + #include "xlat/modetypes.h" + |