Mageia Bugzilla – Attachment 5298 Details for
Bug 13761
Problems met during net-snmp pkg build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to fix failure during snmpd linking
net-snmp-5.7.2-no-systemd-bug.patch (text/plain), 474 bytes, created by
Gilles Allard
on 2014-07-18 11:17:28 CEST
(
hide
)
Description:
Patch to fix failure during snmpd linking
Filename:
MIME Type:
Creator:
Gilles Allard
Created:
2014-07-18 11:17:28 CEST
Size:
474 bytes
patch
obsolete
>--- ./agent/snmpd.c~ 2014-07-17 09:37:48.000000000 +0000 >+++ ./agent/snmpd.c 2014-07-17 10:53:08.692349630 +0000 >@@ -452,10 +452,10 @@ > #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
--- ./agent/snmpd.c~ 2014-07-17 09:37:48.000000000 +0000 +++ ./agent/snmpd.c 2014-07-17 10:53:08.692349630 +0000 @@ -452,10 +452,10 @@ #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
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13761
:
5297
| 5298