diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-09-30 17:33:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-09 10:17:05 +0000 |
commit | 826e36643a3fcb8b4ee4ed79612c63c3a9cc1536 (patch) | |
tree | 6ba11474878ae05acaa3b08948bde3e6aefcc604 /meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch | |
parent | 607d0099a652c83979b74cd8c8c3d8479221c513 (diff) | |
download | openembedded-core-contrib-826e36643a3fcb8b4ee4ed79612c63c3a9cc1536.tar.gz |
strace: Upgrade to 4.9
Remove two backported patches:
0001-Work-around-conflict-between-sys-ptrace.h-and-linux-.patch
strace-fix-64-bit-process-detection.patch
Update two patches to fit new version:
Makefile-ptest.patch
strace-add-configure-options.patch
Add coreutils, grep and gawk to RDEPENDS_${PN}-ptest for making
ptest pass.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch b/meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch new file mode 100644 index 0000000000..15e37bce03 --- /dev/null +++ b/meta/recipes-devtools/strace/strace-4.9/strace-add-configure-options.patch @@ -0,0 +1,65 @@ +Add options "aio" and "acl" to enable/disable libaio and acl support. + +Upstream-Status: Pending + +Signed-off-by: Kai Kang <kai.kang@windriver.com> +Signed-off-by: Chong Lu <Chong.Lu@windriver.com> +--- + configure.ac | 27 ++++++++++++++++++++++++++- + 1 file changed, 26 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 054f85b..8ed49f1 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -238,7 +238,6 @@ AC_CHECK_HEADERS(m4_normalize([ + poll.h + scsi/sg.h + stropts.h +- sys/acl.h + sys/asynch.h + sys/conf.h + sys/epoll.h +@@ -250,6 +249,18 @@ AC_CHECK_HEADERS(m4_normalize([ + sys/uio.h + sys/vfs.h + ])) ++ ++AC_ARG_ENABLE([acl], ++ [AS_HELP_STRING([--enable-acl], [turn on acl support])], ++ [case $enableval in ++ yes) ++ AC_CHECK_HEADERS([sys/acl.h]) ++ ;; ++ no) ;; ++ *) AC_MSG_ERROR([bad value $enableval for aio option]) ;; ++ esac] ++) ++ + AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], + [], [], [#include <stddef.h> + #include <sys/socket.h> +@@ -649,6 +660,20 @@ if test "x$st_cv_have___builtin_popcount" = xyes; then + [Define to 1 if the system provides __builtin_popcount function]) + fi + ++AC_ARG_ENABLE([aio], ++ [AS_HELP_STRING([--enable-aio], [turn on libaio support])], ++ [case $enableval in ++ yes) ++ AC_CHECK_HEADERS([libaio.h], [ ++ AC_CHECK_MEMBERS([struct iocb.u.c.flags],,, [#include <libaio.h>]) ++ AC_CHECK_DECLS([IO_CMD_PWRITE, IO_CMD_PWRITEV],,, [#include <libaio.h>]) ++ ]) ++ ;; ++ no) ;; ++ *) AC_MSG_ERROR([bad value $enableval for aio option]) ;; ++ esac] ++) ++ + AC_PATH_PROG([PERL], [perl]) + + dnl stack trace with libunwind +-- +1.9.1 + |