Mercurial > hg > aboriginal
diff sources/control-images/static-tools-patches/strace-fixnet.patch @ 1275:a4cb2ed0a551
Move sources/native-builds to sources/control-images, so the naming is consistent.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Nov 2010 15:55:26 -0600 |
parents | sources/native-builds/static-tools-patches/strace-fixnet.patch@9f62cd761498 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/control-images/static-tools-patches/strace-fixnet.patch Sun Nov 07 15:55:26 2010 -0600 @@ -0,0 +1,24 @@ +diff -ru strace/configure strace.new/configure +--- strace/configure 2009-10-21 12:41:11.000000000 -0500 ++++ strace.new/configure 2010-02-05 01:30:15.000000000 -0600 +@@ -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 <stddef.h> +-#include <linux/socket.h> ++#include <sys/socket.h> + " + eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : +diff -ru strace/configure.ac strace.new/configure.ac +--- strace/configure.ac 2009-10-12 14:54:43.000000000 -0500 ++++ strace.new/configure.ac 2010-02-05 01:30:35.000000000 -0600 +@@ -258,7 +258,7 @@ + ], [], []) + AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], + [], [], [#include <stddef.h> +-#include <linux/socket.h>]) ++#include <sys/socket.h>]) + AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>]) + AC_CHECK_TYPES([struct sigcontext_struct, + struct sigcontext],,, [#include <signal.h>])