diff options
author | marcus <marcus@FreeBSD.org> | 2004-08-07 12:02:03 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-08-07 12:02:03 +0800 |
commit | d3e630aeff782fa5c90d9b6f8f7f3e3a5cd792ea (patch) | |
tree | b6fd0961cbb34f1912beba329800569cda19b285 /print/gnome-cups-manager/files | |
parent | 480a5630f597be88f926660fad9730fcdbf5a962 (diff) | |
download | freebsd-ports-gnome-d3e630aeff782fa5c90d9b6f8f7f3e3a5cd792ea.tar.gz freebsd-ports-gnome-d3e630aeff782fa5c90d9b6f8f7f3e3a5cd792ea.tar.zst freebsd-ports-gnome-d3e630aeff782fa5c90d9b6f8f7f3e3a5cd792ea.zip |
Fix build with GCC 3.4.2.
Submitted by: Sean McNeil <sean@mcneil.com>
Diffstat (limited to 'print/gnome-cups-manager/files')
-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 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++) |