freebsd-ports/net/xorp/files/patch-mibs-bgp4_mib_1657_bgppeertable.cc
Stephen Montgomery-Smith 64d0df4091 - Add patches to allow build with SNMP on.
- Change BUILD_DEPENDS= to BUILD_DEPENDS+= so that different options don't
  negate each other.
- Set maintainer.

PR:		ports/163584
Submitted by:	Anthony Chavez <acc@hexadecagram.org>
2011-12-28 16:39:51 +00:00

11 lines
490 B
C++

--- mibs/bgp4_mib_1657_bgppeertable.cc-orig 2011-12-27 00:37:40.000000000 +0000
+++ mibs/bgp4_mib_1657_bgppeertable.cc 2011-12-27 00:38:11.000000000 +0000
@@ -476,7 +476,7 @@
void free_context(void * context, struct netsnmp_iterator_info_s * /* iinfo */)
{
- DEBUGMSGTL((BgpMib::the_instance().name(),"freeing context %x\n", context));
+ DEBUGMSGTL((BgpMib::the_instance().name(),"freeing context %p\n", context));
if (NULL != context) free(context);
context = NULL;
}