aboutsummaryrefslogtreecommitdiff
path: root/print/gnome-cups-manager
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-07 04:02:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-07 04:02:03 +0000
commit09d20a27765967bb230f03e3a675cfd41630d576 (patch)
tree0e82643fe9bbabd00faa39508e9223c65f47e112 /print/gnome-cups-manager
parent0c879c6c947efff2be6faf9a86ff9c7ec61dd3ac (diff)
downloadports-09d20a27765967bb230f03e3a675cfd41630d576.tar.gz
ports-09d20a27765967bb230f03e3a675cfd41630d576.zip
Notes
Diffstat (limited to 'print/gnome-cups-manager')
-rw-r--r--print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C11
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 000000000000..3fae7e56c25b
--- /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++)