From owner-freebsd-ports@FreeBSD.ORG Sat Aug 13 20:07:37 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D460F16A41F for ; Sat, 13 Aug 2005 20:07:37 +0000 (GMT) (envelope-from akruijff@dds.nl) Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.6.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4D643D45 for ; Sat, 13 Aug 2005 20:07:37 +0000 (GMT) (envelope-from akruijff@dds.nl) Received: from smtp.planet.nl (ip51cc8423.speed.planet.nl [81.204.132.35]) by smtp13.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IL600IWAFWOET@smtp13.wxs.nl> for freebsd-ports@freebsd.org; Sat, 13 Aug 2005 22:07:36 +0200 (CEST) Received: from Alex.lan (localhost [127.0.0.1]) by smtp.planet.nl (8.13.3/8.13.3) with ESMTP id j7DK7aLI004715; Sat, 13 Aug 2005 22:07:36 +0200 (CEST envelope-from akruijff@dds.nl) Received: (from akruijff@localhost) by Alex.lan (8.13.3/8.13.3/Submit) id j7DK7ZWT004714; Sat, 13 Aug 2005 22:07:35 +0200 (CEST envelope-from akruijff@dds.nl) Content-return: prohibited Date: Sat, 13 Aug 2005 22:07:35 +0200 From: Alex de Kruijff In-reply-to: <20050813191907.GH737@voodoo.oberon.net> To: Kirill Ponomarew Message-id: <20050813200735.GA69219@Alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20050813151726.GC850@Alex.lan> <20050813165952.GC737@voodoo.oberon.net> <20050813172928.GD850@Alex.lan> <20050813191907.GH737@voodoo.oberon.net> X-Authentication-warning: Alex.lan: akruijff set sender to akruijff@dds.nl using -f Cc: freebsd-ports@freebsd.org, freebsd@akruijff.dds.nl Subject: Re: Need help with upgrading workrave X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 20:07:37 -0000 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 > > #include > > #include > > +#include > > > > #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