Mercurial > hg > aboriginal
annotate 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 |
rev | line source |
---|---|
971
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 diff -ru strace/configure strace.new/configure |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 --- strace/configure 2009-10-21 12:41:11.000000000 -0500 |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 +++ strace.new/configure 2010-02-05 01:30:15.000000000 -0600 |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 @@ -5880,7 +5880,7 @@ |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 do : |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <stddef.h> |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 -#include <linux/socket.h> |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 +#include <sys/socket.h> |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 " |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 eval as_val=\$$as_ac_Header |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 if test "x$as_val" = x""yes; then : |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 diff -ru strace/configure.ac strace.new/configure.ac |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 --- strace/configure.ac 2009-10-12 14:54:43.000000000 -0500 |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 +++ strace.new/configure.ac 2010-02-05 01:30:35.000000000 -0600 |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 @@ -258,7 +258,7 @@ |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 ], [], []) |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 [], [], [#include <stddef.h> |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 -#include <linux/socket.h>]) |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 +#include <sys/socket.h>]) |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>]) |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 AC_CHECK_TYPES([struct sigcontext_struct, |
9488f5ad5029
Fix new version of strace to build with 2.6.32 kernel headers.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 struct sigcontext],,, [#include <signal.h>]) |