Ah, my bad, there is a .patch file. Thanks I'll use that. - Koen.
On Feb 1, 2009, at 12:43 PM, Alexander Hansen wrote: > Koen van der Drift wrote: >> Hi, >> >> How do I update the following to the new PatchScript format: >> >> PatchScript: << >> sed -e 's|@PREFIX@|%p|g' -e 's|@PERL_RAW@|%type_raw[perl]|g' < %a/% >> {Ni}.patch | patch -p1 >> << >> >> >> I get the following warning: "Warning: %a patchfile pathnames are >> deprecated. Use PatchFile, and %{PatchFile} to reference the patch.", >> but there is no PatchFile present. >> >> thanks, >> >> - Koen. >> > How about: > > PatchFile: %{Ni}.patch > PatchFile-MD5: <whatever the MD5 is> > PatchScript: sed -e 's|@PREFIX@|%p|g' -e > 's|@PERL_RAW@|%type_raw[perl]|g' < %{PatchFile} | patch -p1 > > > -- > Alexander Hansen > Fink User Liaison > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel