Need help with upgrading workrave

Alex de Kruijff akruijff at dds.nl
Sat Aug 13 20:07:37 GMT 2005


On Sat, Aug 13, 2005 at 09:19:07PM +0200, Kirill Ponomarew wrote:
> On Sat, Aug 13, 2005 at 07:29:28PM +0200, Alex de Kruijff wrote:
> > On Sat, Aug 13, 2005 at 06:59:52PM +0200, Kirill Ponomarew wrote:
> > > On Sat, Aug 13, 2005 at 05:17:26PM +0200, Alex de Kruijff wrote:
> > > > Hi,
> > > > 
> > > > I like to upgrade the port workrave from 1.6 to 1.8. (This solves the
> > > > freezing problem with kde) This will be my first port upgrade and things
> > > > are a bit unfamiliar for my.
> > > > 
> > > > I have problems with two tings.
> > > > 
> > > > 1. The port doesn't compile properly. I've spoken with the developer and
> > > > we have a solution. He will add this to the CVS, but i am betting this
> > > > doesn't help the port in the sort term. I need to insert one line to one
> > > > file to make it work. How should i go about this?
> > 
> > I've tried paching. I've added files/patch-path
> > --- workrave-1.8.1/frontend/common/src/System.cc       Sat Aug 13
> > 19:16:05 2005
> > +++ workrave-1.8.1/frontend/common/src/System.cc       Sat Aug 13
> > 19:16:16 2005
> > @@ -20,6 +20,7 @@
> >  #include <glib.h>
> >  #include <stdlib.h>
> >  #include <string.h>
> > +#include <strings.h>
> > 
> >  #include "System.hh"
> >  #include "debug.hh"
> > 
> > but it keeps giving errors afther make patch. I've tried a number of
> > variants. Its seems oke for me.
> 
> Try /usr/ports/Tools/scripts/patchtool.py

I was one directory to far up. Afther i removed the workrave-1.8.1/ and
then it worked. So I went though the testing case. This went oke except
that it complains that it can not remove like 20 directories up on
deinstallation. Is it acceptable to leave this in?

-- 
Alex


More information about the freebsd-ports mailing list