]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - strace/patches/strace-4.5.19-fix-kernel-headers.patch
Move all packages to root.
[people/ms/ipfire-3.x.git] / strace / patches / strace-4.5.19-fix-kernel-headers.patch
CommitLineData
fc22686f
MT
1
2From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560516
3
4This bug is due to linux header changes. The following patch, from
5upstream, fixes the problem:
6
7diff -Nru strace-4.5.19/configure strace-4.5.19/configure
8--- strace-4.5.19/configure 2009-10-21 19:41:11.000000000 +0200
9+++ strace-4.5.19/configure 2010-01-26 08:47:33.000000000 +0100
10@@ -5880,7 +5880,7 @@
11 do :
12 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <stddef.h>
14-#include <linux/socket.h>
15+#include <sys/socket.h>
16 "
17 eval as_val=\$$as_ac_Header
18 if test "x$as_val" = x""yes; then :
19diff -Nru strace-4.5.19/configure.ac strace-4.5.19/configure.ac
20--- strace-4.5.19/configure.ac 2009-10-12 21:54:43.000000000 +0200
21+++ strace-4.5.19/configure.ac 2010-01-26 08:47:18.000000000 +0100
22@@ -258,7 +258,7 @@
23 ], [], [])
24 AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
25 [], [], [#include <stddef.h>
26-#include <linux/socket.h>])
27+#include <sys/socket.h>])
28 AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
29 AC_CHECK_TYPES([struct sigcontext_struct,
30 struct sigcontext],,, [#include <signal.h>])