patch for print/gnome-cups-manager and gcc 3.4.2

Sean McNeil sean at mcneil.com
Mon Aug 2 17:42:06 PDT 2004


On Mon, 2004-08-02 at 17:33, Joe Marcus Clarke wrote:
> On Mon, 2004-08-02 at 20:26, Sean McNeil wrote:
> > Here is a patch to get print/gnome-cups-manager to build with -CURRENT
> > compiler.
> 
> Please post these as they do not come through on the list.

Here you are....

print/gnome-cups-manager

*** gnome-cups-add/snmpkit/snmpkit_interface.C.orig	Mon Aug  2 17:20:05 2004
--- gnome-cups-add/snmpkit/snmpkit_interface.C	Mon Aug  2 17:21:44 2004
*************** int sk_sfiller_remove(SNMPTABLE *st,cons
*** 508,514 ****
  void **sk_table_get(SNMPTABLE *st){
    std::list<void*> vals;
    from_c(st)->get(vals);
!   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++)
--- 508,514 ----
  void **sk_table_get(SNMPTABLE *st){
    std::list<void*> vals;
    from_c(st)->get(vals);
!   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++)

palm/gnomepilot2...

*** capplet/gnome-pilot-capplet.c.orig	Mon Aug  2 16:41:30 2004
--- capplet/gnome-pilot-capplet.c	Mon Aug  2 16:42:05 2004
*************** init (GnomePilotCapplet *gpcap)
*** 183,188 ****
--- 183,189 ----
  	init_widgets (gpcap);
  
   error:
+ 	return;
  }
  
  GnomePilotCapplet *

*** capplet/gnome-pilot-cdialog.c.orig	Mon Aug  2 16:44:15 2004
--- capplet/gnome-pilot-cdialog.c	Mon Aug  2 16:44:35 2004
*************** init (GnomePilotCDialog *gpcd)
*** 123,128 ****
--- 123,129 ----
  	gnome_dialog_close_hides (GNOME_DIALOG (priv->dialog), TRUE);
  	
   error:
+ 	return;
  }

*** capplet/gnome-pilot-ddialog.c.orig	Mon Aug  2 16:43:33 2004
--- capplet/gnome-pilot-ddialog.c	Mon Aug  2 16:43:43 2004
*************** init (GnomePilotDDialog *gpdd)
*** 123,128 ****
--- 123,129 ----
  	}
  
   error:
+ 	return;
  }

*** capplet/gnome-pilot-druid.c.orig	Mon Aug  2 16:46:03 2004
--- capplet/gnome-pilot-druid.c	Mon Aug  2 16:46:25 2004
*************** init (GnomePilotDruid *gpd)
*** 181,186 ****
--- 181,187 ----
  	init_widgets (gpd);
  
   error:
+ 	return;
  }

*** capplet/gnome-pilot-pdialog.c.orig	Mon Aug  2 16:42:46 2004
--- capplet/gnome-pilot-pdialog.c	Mon Aug  2 16:43:01 2004
*************** init (GnomePilotPDialog *gppd)
*** 144,149 ****
--- 144,150 ----
  	}
  
   error:
+ 	return;
  }


Cheers,
Sean




More information about the freebsd-gnome mailing list