delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/01/10:31:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <321896.35432.qm@web25501.mail.ukl.yahoo.com>
Date: Fri, 1 Oct 2010 14:31:36 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: patch can't find files by linux-stype path
To: Andrey Repin <cygwin AT cygwin DOT com>
In-Reply-To: <20993553.20101001175836@mtu-net.ru>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

> Greetings, All!
>=20
> [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=20
"-p number"=20

> The text leading up to this was:
> --------------------------
> |--- DebuffFilter/DebuffFilter.xml=A0 =A0 =A0
> 2009-09-01 22:10:48.000000000 +0400
> |+++ DebuffFilter/DebuffFilter.xml=A0 =A0 =A0
> 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=A0 =A0
> 2009-09-01 22:10:48.000000000 +0400
> |+++ ./DebuffFilter/DebuffFilter.xml=A0 =A0
> 2009-10-04 08:28:36.412625000 +0400
> --------------------------
> File to patch:
>=20
> But when I change these lines to
> --- DebuffFilter\DebuffFilter.xml=A0 2010-09-18
> 16:25:08.000000000 +0400
> +++ DebuffFilter\DebuffFilter.xml=A0 2010-10-01
> 17:54:35.746500000 +0400
>=20
> the patch works well.
>=20
> 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
>=20
> So, the question is... what i'm doing wrong?
>=20
>=20
> --=20
> WBR,
>  Andrey Repin=20
> 01.10.2010, <17:56>
>=20
> Sorry for my terrible english...
>=20

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019