summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/strace/no_linux_socket_h.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-09 22:26:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-09 22:26:06 (GMT)
commitf0bec092221a05080d9fca9ffbf9d7cc04c7ceda (patch)
tree8183228c7c08b78e76279576d8df97548f2a61f7 /abs/extra-testing/strace/no_linux_socket_h.patch
parentf18e8e6b49cb7922576619b00f75f18ff2886efc (diff)
downloadlinhes_pkgbuild-f0bec092221a05080d9fca9ffbf9d7cc04c7ceda.zip
linhes_pkgbuild-f0bec092221a05080d9fca9ffbf9d7cc04c7ceda.tar.gz
linhes_pkgbuild-f0bec092221a05080d9fca9ffbf9d7cc04c7ceda.tar.bz2
add in strace
Diffstat (limited to 'abs/extra-testing/strace/no_linux_socket_h.patch')
-rw-r--r--abs/extra-testing/strace/no_linux_socket_h.patch22
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