diff options
Diffstat (limited to 'print/gnome-cups-manager')
-rw-r--r-- | print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C b/print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C new file mode 100644 index 0000000..3fae7e5 --- /dev/null +++ b/print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C @@ -0,0 +1,11 @@ +--- gnome-cups-add/snmpkit/snmpkit_interface.C.orig Fri Aug 6 23:58:14 2004 ++++ gnome-cups-add/snmpkit/snmpkit_interface.C Fri Aug 6 23:58:36 2004 +@@ -508,7 +508,7 @@ + void **sk_table_get(SNMPTABLE *st){ + std::list<void*> vals; + from_c(st)->get(vals); +- void **retval=new (void*)[vals.size()+1]; ++ void **retval=new void* [vals.size()+1]; + retval[vals.size()]=NULL; + int i=0; + for(std::list<void*>::iterator cur=vals.begin();cur!=vals.end();cur++,i++) |