From d3e630aeff782fa5c90d9b6f8f7f3e3a5cd792ea Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 7 Aug 2004 04:02:03 +0000 Subject: Fix build with GCC 3.4.2. Submitted by: Sean McNeil --- .../files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 print/gnome-cups-manager/files/patch-gnome-cups-add_snmpkit_snmpkit_interface.C (limited to 'print/gnome-cups-manager') 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 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::iterator cur=vals.begin();cur!=vals.end();cur++,i++) -- cgit v1.1