head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.28 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.26 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.24 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.22 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.20 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.18 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.16 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.14 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.12 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.10 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.8 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.6 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.4 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.2 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.1.0.2 pkgsrc-2006Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2007.02.05.12.06.16; author adam; state dead; branches; next 1.1; 1.1 date 2006.10.01.20.08.29; author seb; state Exp; branches; next ; desc @@ 1.2 log @Changes 5.4: - The default configuration now enables embedded Perl and the Perl modules by default when possible unless explicitly disabled. You may use the --disable-embedded-perl and --without-perl-modules configure options, respectively, to revert to the former default configuration. @ text @$NetBSD: patch-ed,v 1.1 2006/10/01 20:08:29 seb Exp $ --- agent/mibgroup/agent/nsDebug.c.orig 2005-04-21 13:32:20.000000000 +0000 +++ agent/mibgroup/agent/nsDebug.c @@@@ -291,7 +291,7 @@@@ get_first_debug_entry(void **loop_contex snmp_set_var_value(index, dbg_tokens[i].token_name, strlen(dbg_tokens[i].token_name)); - *loop_context = (void*)i; + *loop_context = (void*)(long)i; *data_context = (void*)&dbg_tokens[i]; return index; } @@@@ -301,7 +301,7 @@@@ get_next_debug_entry(void **loop_context netsnmp_variable_list *index, netsnmp_iterator_info *data) { - int i = (int)*loop_context; + int i = (int)(long)*loop_context; for (i++; i