aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Viguera <javier.viguera@digi.com>2013-09-05 14:49:01 +0000
committerEric Bénard <eric@eukrea.com>2013-10-10 21:30:38 +0200
commit44754206632dd5b0725aeb43e99e4ff9e0245dca (patch)
tree79777bbc9483ddbce4bef18f1401292864b7b65d
parent70bc5626b3e6c6bc90b8845f8e7e48f45bf57174 (diff)
downloadmeta-openembedded-contrib-44754206632dd5b0725aeb43e99e4ff9e0245dca.tar.gz
meta-openembedded-contrib-44754206632dd5b0725aeb43e99e4ff9e0245dca.tar.bz2
meta-openembedded-contrib-44754206632dd5b0725aeb43e99e4ff9e0245dca.zip
net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
Use patch from master branch to fix: snmpd.c:459: undefined reference to `netsnmp_sd_listen_fds' Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
-rw-r--r--meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch b/meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch
index 18955f29ee..e19153bbc4 100644
--- a/meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch
+++ b/meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch
@@ -7,12 +7,14 @@ fef6cddfdb94da1a6b1fb768af62918b80f11fd3
0641e43c694c485cbbffef0556efc4641bd3ff50
76530a89f1c8bbd0b63acce63e10d5d4812a1a16 (conflict resolved)
bf108d7f1354f6276fc43c129963f2c49b9fc242
+3692875172352f72cf3afd0d35f355e83d7e421b
74412748067c685e1d8ab6ed3bcc3ca9c2774844
86132e3f1e6ef7b4e0b96d8fa24e37c81b71b0e0
63557cf8986a33dba1d4429b583a901361052c4f
Upstream-Status: Backport
+Signed-off-by: Thomas Fitzsimmons <fitzsim@cisco.com>
diff --git a/README.systemd b/README.systemd
new file mode 100644
index 0000000..f731851
@@ -89,10 +91,10 @@ index b177d5b..08bdfc7 100644
#endif
#ifndef WIN32
-+#ifndef NETSNMP_NO_SYSYSTEMD
++#ifndef NETSNMP_NO_SYSTEMD
+ /* check if systemd has sockets for us and don't close them */
+ prepared_sockets = netsnmp_sd_listen_fds(0);
-+#endif /* NETSNMP_NO_SYSYSTEMD */
++#endif /* NETSNMP_NO_SYSTEMD */
+
/*
* close all non-standard file descriptors we may have