summaryrefslogtreecommitdiff
path: root/package/net-snmp/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
commit78646a0eb8f5f9d41d6bcfd261b4717e1648ab5f (patch)
tree9bb8338369591ad084a8a3a1b19a9727b0d4c2e4 /package/net-snmp/patches
parentbb9efd268326393ca769c38e6385216569e70e52 (diff)
parentc0949bd08b50c985226dee3d1b3f63d1d067293e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/net-snmp/patches')
-rw-r--r--package/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c12
-rw-r--r--package/net-snmp/patches/patch-agent_mibgroup_util_funcs_get_pid_from_inode_c10
-rw-r--r--package/net-snmp/patches/patch-net-snmp-config_in6
3 files changed, 19 insertions, 9 deletions
diff --git a/package/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c b/package/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c
index f0be57e78..a4396b963 100644
--- a/package/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c
+++ b/package/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c
@@ -1,6 +1,6 @@
---- net-snmp-5.6.1.orig/agent/mibgroup/mibII/tcpTable.c 2010-10-20 15:12:08.000000000 +0200
-+++ net-snmp-5.6.1/agent/mibgroup/mibII/tcpTable.c 2011-01-12 14:48:14.000000000 +0100
-@@ -33,6 +33,12 @@
+--- net-snmp-5.7.2.orig/agent/mibgroup/mibII/tcpTable.c 2012-10-10 00:28:58.000000000 +0200
++++ net-snmp-5.7.2/agent/mibgroup/mibII/tcpTable.c 2014-01-01 17:12:30.000000000 +0100
+@@ -34,6 +34,12 @@
#include <netlink/netlink.h>
#include <netlink/msg.h>
#include <linux/inet_diag.h>
@@ -13,7 +13,7 @@
#endif
#include <net-snmp/net-snmp-includes.h>
-@@ -565,8 +571,8 @@ tcpTable_load_netlink(void)
+@@ -579,8 +585,8 @@ tcpTable_load_netlink(void)
}
if (nl_connect(nl, NETLINK_INET_DIAG) < 0) {
@@ -24,7 +24,7 @@
nl_handle_destroy(nl);
return -1;
}
-@@ -580,8 +586,8 @@ tcpTable_load_netlink(void)
+@@ -594,8 +600,8 @@ tcpTable_load_netlink(void)
nlmsg_append(nm, &req, sizeof(struct inet_diag_req), 0);
if (nl_send_auto_complete(nl, nm) < 0) {
@@ -35,7 +35,7 @@
nl_handle_destroy(nl);
return -1;
}
-@@ -593,8 +599,8 @@ tcpTable_load_netlink(void)
+@@ -607,8 +613,8 @@ tcpTable_load_netlink(void)
while (running) {
if ((len = nl_recv(nl, &peer, &buf, NULL)) <= 0) {
diff --git a/package/net-snmp/patches/patch-agent_mibgroup_util_funcs_get_pid_from_inode_c b/package/net-snmp/patches/patch-agent_mibgroup_util_funcs_get_pid_from_inode_c
new file mode 100644
index 000000000..08097feb3
--- /dev/null
+++ b/package/net-snmp/patches/patch-agent_mibgroup_util_funcs_get_pid_from_inode_c
@@ -0,0 +1,10 @@
+--- net-snmp-5.7.2.orig/agent/mibgroup/util_funcs/get_pid_from_inode.c 2012-10-10 00:28:58.000000000 +0200
++++ net-snmp-5.7.2/agent/mibgroup/util_funcs/get_pid_from_inode.c 2014-01-01 17:29:08.000000000 +0100
+@@ -6,6 +6,7 @@
+
+ #include <ctype.h>
+ #include <stdio.h>
++#include <limits.h>
+ #if HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
diff --git a/package/net-snmp/patches/patch-net-snmp-config_in b/package/net-snmp/patches/patch-net-snmp-config_in
index 2465be023..7e0623ad7 100644
--- a/package/net-snmp/patches/patch-net-snmp-config_in
+++ b/package/net-snmp/patches/patch-net-snmp-config_in
@@ -1,6 +1,6 @@
---- net-snmp-5.6.1.orig/net-snmp-config.in 2010-10-13 11:58:34.000000000 +0200
-+++ net-snmp-5.6.1/net-snmp-config.in 2011-01-21 18:05:18.494919068 +0100
-@@ -127,10 +127,10 @@ else
+--- net-snmp-5.7.2.orig/net-snmp-config.in 2012-10-10 00:28:58.000000000 +0200
++++ net-snmp-5.7.2/net-snmp-config.in 2014-01-01 17:12:30.000000000 +0100
+@@ -138,10 +138,10 @@ else
;;
#################################################### compile
--base-cflags)