[libvirt] [snmp PATCH 1/2] Replace U64 with struct counter64 to fix build
mprivozn at redhat.com
Wed Mar 21 16:46:02 UTC 2018
On 03/20/2018 09:41 AM, Michael Corcoran wrote:
> Upstream net-snmp removed the U64 typedef in 2016 as it clashed with a
> name in Perl, thus all usages of U64 must be replaced by struct counter64 to
> compile against recent versions of net-snmp.
> The replacements were made by hand, while referencing diff with new
> source generated by the mib2c tool. net-snmp have a mib2c-update tool
> which supposedly assists with updating existing (modified) source code
> but I was unable to get it to work.
> Signed-off-by: Michael Corcoran <tracer at outlook.co.nz>
> src/defaults/node-libvirtGuestCpuTime.m2d | 2 +-
> src/libvirtGuestTable-README-libvirtGuestTable.txt | 2 +-
> src/libvirtGuestTable.h | 4 ++--
> src/libvirtGuestTable_data_get.c | 4 ++--
> src/libvirtGuestTable_data_get.h | 2 +-
> src/libvirtGuestTable_data_set.h | 4 ++--
> src/libvirtGuestTable_interface.c | 8 ++++----
> 7 files changed, 13 insertions(+), 13 deletions(-)
ACK. Although you've missed some other occurrences. I'm fixing them too.
More information about the libvir-list