From 5c26061a3ad7efe94b7774d57b37dfeb5800966b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 30 Jan 2010 13:47:40 +0000 Subject: [PATCH] [packages] strace: fix compilation against Linux 2.6.32+ (#6604) SVN-Revision: 19395 --- utils/strace/Makefile | 2 +- utils/strace/patches/000-linux_socket.patch | 24 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 utils/strace/patches/000-linux_socket.patch diff --git a/utils/strace/Makefile b/utils/strace/Makefile index 031b60f05e..17048e86cf 100644 --- a/utils/strace/Makefile +++ b/utils/strace/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=strace -PKG_RELEASE:=1 +PKG_RELEASE:=2 ifeq ($(CONFIG_LINUX_2_6_25),y) PKG_VERSION:=4.5.16 diff --git a/utils/strace/patches/000-linux_socket.patch b/utils/strace/patches/000-linux_socket.patch new file mode 100644 index 0000000000..a7c9f88114 --- /dev/null +++ b/utils/strace/patches/000-linux_socket.patch @@ -0,0 +1,24 @@ +diff -Nurb strace-4.5.19/configure strace-4.5.19-uClibc-0.9.30.2/configure +--- strace-4.5.19/configure 2009-10-21 19:41:11.000000000 +0200 ++++ strace-4.5.19-uClibc-0.9.30.2/configure 2010-01-29 14:41:35.897738564 +0100 +@@ -5880,7 +5880,7 @@ + do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` + ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include +-#include ++#include + " + eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : +diff -Nurb strace-4.5.19/configure.ac strace-4.5.19-uClibc-0.9.30.2/configure.ac +--- strace-4.5.19/configure.ac 2009-10-12 21:54:43.000000000 +0200 ++++ strace-4.5.19-uClibc-0.9.30.2/configure.ac 2010-01-29 14:42:02.880738326 +0100 +@@ -258,7 +258,7 @@ + ], [], []) + AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], + [], [], [#include +-#include ]) ++#include ]) + AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include ]) + AC_CHECK_TYPES([struct sigcontext_struct, + struct sigcontext],,, [#include ]) -- 2.30.2