diff options
Diffstat (limited to 'abs/extra-testing/strace/no_linux_socket_h.patch')
-rw-r--r-- | abs/extra-testing/strace/no_linux_socket_h.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/extra-testing/strace/no_linux_socket_h.patch b/abs/extra-testing/strace/no_linux_socket_h.patch new file mode 100644 index 0000000..f1c3598 --- /dev/null +++ b/abs/extra-testing/strace/no_linux_socket_h.patch @@ -0,0 +1,22 @@ +--- strace-4.5.12.orig/configure.ac ++++ strace-4.5.12/configure.ac +@@ -193,8 +193,7 @@ + + AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl prctl sendmsg inet_ntop if_indextoname) + AC_CHECK_HEADERS([sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h poll.h sys/poll.h sys/vfs.h asm/sysmips.h linux/utsname.h sys/nscsys.h mqueue.h sys/epoll.h libaio.h], [], []) +-AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], +- [], [], [#include <linux/socket.h>]) ++AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h]) + AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>]) + AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include <netinet/in.h>]) + +--- strace-4.5.12.orig/configure ++++ strace-4.5.12/configure +@@ -6945,7 +6945,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <linux/socket.h> + + #include <$ac_header> + _ACEOF |