cd into the festival src directory, then use -p1 instead of -p0. This
will strip the first level directory off of each patch part since it
will then be matched against the current directory you are in.

On Tue, 2003-06-24 at 13:47, Derek Beaumont wrote:
> I just wanted to try out Festival, but I can't get it patched.
> I'm thinking that there is something missing from the steps listed 
> at http://www.marko.net/asterisk/archives/0209/0389.html.
> 
> >>tar xvzf festival-1.4.2-release.tar.gz 
> >>patch -p0 </usr/src/asterisk-ng/festival-1.4.2-diff 
> >>    (or wherever the patch is located)
> 
> When I run the patch command, I get the following:
> 
> [EMAIL PROTECTED] src]# patch -p0 </usr/src/asterisk/festival-1.4.2.diff
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -u -r festival-1.4.2/lib/tts.scm
> festival-1.4.2-asterisk/lib/tts.scm
> |--- festival-1.4.2/lib/tts.scm Wed Jan  8 09:54:14 2003
> |+++ festival-1.4.2-asterisk/lib/tts.scm        Tue Jan  7 08:51:44 2003
> --------------------------
> File to patch:
> 
> 
> Which file am I supposed to patch?
> 
> Thanks for your help.
> -Derek
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to