On Sep 25, 2008, at 7:50 AM, Ben Abbott wrote:
> I am trying to apply a local patch. I've copied gnuplot.info to the
> local branch and modifed the pathscrpts as
>
> PatchScript:<<
> perl -pi -e 's/\bClass\b/GP_Class/g' `find src -name \*.c -o -name
> \*.cpp -o -name \*.h`
> sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1
> cd gnuplot-4.2.4
> patch -p1 < %a/col_interp-gp424.patch
> cd ..
> <<
>
> As those in the know might expect ...
>
> fink validate /sw/fink/dists/local/main/finkinfo/sci/gnuplot.info
> Validating package file /sw/fink/dists/local/main/finkinfo/sci/
> gnuplot.info...
> Error: Cannot use %a if using PatchFile, use %{PatchFile} to reference
> the patch. (gnuplot.info)
>
> What is the proper way for me to do this?
>
> I've placed the new patch (col_interp-gp424.patch) in the same
> directory as the local gnuplot.info.
>
> TiA
> Ben
>
As the message from fink says, use %{PatchFile} instead of %a in your
patch line.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users