[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    Re: [Fink-beginners] kdebase4-workspace-x11 won't compile
From:       Martin Costabel <costabel () wanadoo ! fr>
Date:       2010-06-13 7:53:25
Message-ID: 4C148E75.4070503 () wanadoo ! fr
[Download RAW message or body]

George Karrys wrote:
[]
> Compile fails while patching
> 
> can't find file to patch at input line 1590
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> | 
> |--- 
> trunk/KDE/kdebase/workspace/plasma/generic/dataengines/geolocation/location_
> gps.cpp    2010/01/05 19:40:06    1070488
> |+++ 
> trunk/KDE/kdebase/workspace/plasma/generic/dataengines/geolocation/location_
> gps.cpp    2010/01/05 19:48:55    1070489
> --------------------------
> File to patch: 
> 
> I tried directing to
> /sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/pl
> asma/generic/dataengines/geolocations/location_gps.cpp
> 
> And get file not found
> 
> 
> Is there something I'm missing.

Read "man patch" about the -p option. Fink uses, unless told otherwise, 
-p1, see <http://www.finkproject.org/doc/packaging/reference.php?#patches>.
This means that the path you give has to have exactly *one* extra 
component in front of the build directory, in your example

whatever/plasma/generic/dataengines/geolocation/location_gps.cpp

-- 
Martin



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic