summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-net_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-27 11:21:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-27 11:21:30 +0100
commitfe967bd0b07b9c17a99cc8b31a756d8438a49117 (patch)
tree6363afe246244dd0939fc3c706e9831b3f4d2a83 /package/strace/patches/patch-net_c
parentef35660027f4556d65f27da7cfe4f3150011f0d1 (diff)
parent9a9fd1b6c5b7b15e6df4848df4ba85d0b3f40ee2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-net_c')
-rw-r--r--package/strace/patches/patch-net_c17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/strace/patches/patch-net_c b/package/strace/patches/patch-net_c
new file mode 100644
index 000000000..f579ea5fb
--- /dev/null
+++ b/package/strace/patches/patch-net_c
@@ -0,0 +1,17 @@
+--- strace-4.8.orig/net.c 2013-05-18 00:20:02.000000000 +0200
++++ strace-4.8/net.c 2014-02-25 16:06:44.000000000 +0100
+@@ -95,12 +95,14 @@
+ #endif
+
+ /* Under Linux these are enums so we can't test for them with ifdef. */
++#if !defined(IPPROTO_MAX)
+ #define IPPROTO_EGP IPPROTO_EGP
+ #define IPPROTO_PUP IPPROTO_PUP
+ #define IPPROTO_IDP IPPROTO_IDP
+ #define IPPROTO_IGMP IPPROTO_IGMP
+ #define IPPROTO_RAW IPPROTO_RAW
+ #define IPPROTO_MAX IPPROTO_MAX
++#endif
+
+ static const struct xlat domains[] = {
+ #ifdef PF_UNSPEC