diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 9958573..0950907 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -3,7 +3,7 @@ PORTNAME= snmp PORTVERSION= 5.7.3 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= net- diff --git a/net-mgmt/net-snmp/files/patch-snmplib__int64.c b/net-mgmt/net-snmp/files/patch-snmplib__int64.c new file mode 100644 index 0000000..ef34758 --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-snmplib__int64.c @@ -0,0 +1,12 @@ +--- snmplib/int64.c ++++ snmplib/int64.c +@@ -367,7 +367,8 @@ netsnmp_c64_check32_and_update(struct counter64 *prev_val, struct counter64 *new + * check wrap incremented high, so reset it. (Because having + * high set for a 32 bit counter will confuse us in the next update). + */ +- netsnmp_assert(1 == new_val->high); ++ if (1 != new_val->high) ++ DEBUGMSGTL(("c64", "error expanding to 64 bits: new_val->high != 1")); + new_val->high = 0; + } + else if (64 == rc) {