public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* patch can't find files by linux-stype path
@ 2010-10-01 14:00 Andrey Repin
  2010-10-01 14:31 ` R: " Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Repin @ 2010-10-01 14:00 UTC (permalink / raw)
  To: All

Greetings, All!

[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch < ../.modd/DebuffFilter/TinyFontFix.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- DebuffFilter/DebuffFilter.xml      2009-09-01 22:10:48.000000000 +0400
|+++ DebuffFilter/DebuffFilter.xml      2009-10-04 08:28:36.412625000 +0400
--------------------------
File to patch: ?
[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch < ../.modd/DebuffFilter/TinyFontFix.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- ./DebuffFilter/DebuffFilter.xml    2009-09-01 22:10:48.000000000 +0400
|+++ ./DebuffFilter/DebuffFilter.xml    2009-10-04 08:28:36.412625000 +0400
--------------------------
File to patch:

But when I change these lines to
--- DebuffFilter\DebuffFilter.xml  2010-09-18 16:25:08.000000000 +0400
+++ DebuffFilter\DebuffFilter.xml  2010-10-01 17:54:35.746500000 +0400

the patch works well.

Ah, of course...
[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98\DebuffFilter]$which patch
patch is an external : C:\Programs\CygWin\bin\patch.exe

So, the question is... what i'm doing wrong?


-- 
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 01.10.2010, <17:56>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* R: patch can't find files by linux-stype path
  2010-10-01 14:00 patch can't find files by linux-stype path Andrey Repin
@ 2010-10-01 14:31 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2010-10-01 14:31 UTC (permalink / raw)
  To: Andrey Repin

--- Ven 1/10/10, Andrey Repin  ha scritto:

> Greetings, All!
> 
> [C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch

C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98
is not a cygwin path, so what is your shell ?

I will expect something like
/cygdrive/c/arc/games/online/WoW/AddOns/DebuffFilter-1.98

> < ../.modd/DebuffFilter/TinyFontFix.patch
> can't find file to patch at input line 3
> Perhaps you should have used the -p or --strip option?

patch --help is your friend,
you need likely to specify 
"-p number" 

> The text leading up to this was:
> --------------------------
> |--- DebuffFilter/DebuffFilter.xml     
> 2009-09-01 22:10:48.000000000 +0400
> |+++ DebuffFilter/DebuffFilter.xml     
> 2009-10-04 08:28:36.412625000 +0400
> --------------------------
> File to patch: ?
> [C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch
> < ../.modd/DebuffFilter/TinyFontFix.patch
> can't find file to patch at input line 3
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- ./DebuffFilter/DebuffFilter.xml   
> 2009-09-01 22:10:48.000000000 +0400
> |+++ ./DebuffFilter/DebuffFilter.xml   
> 2009-10-04 08:28:36.412625000 +0400
> --------------------------
> File to patch:
> 
> But when I change these lines to
> --- DebuffFilter\DebuffFilter.xml  2010-09-18
> 16:25:08.000000000 +0400
> +++ DebuffFilter\DebuffFilter.xml  2010-10-01
> 17:54:35.746500000 +0400
> 
> the patch works well.
> 
> Ah, of course...
> [C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98\DebuffFilter]$which
> patch
> patch is an external : C:\Programs\CygWin\bin\patch.exe
> 
> So, the question is... what i'm doing wrong?
> 
> 
> -- 
> WBR,
>  Andrey Repin 
> 01.10.2010, <17:56>
> 
> Sorry for my terrible english...
> 

not so bad.

Marco





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-01 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-01 14:00 patch can't find files by linux-stype path Andrey Repin
2010-10-01 14:31 ` R: " Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).