Re: [squid-users] Patching

From: Kenneth Oncinian <koncinian@dont-contact.us>
Date: Fri, 21 May 2004 15:55:14 +0000

Hi Simon,
Try patch -p0 instead of patch -p1

Simon Chappell wrote:
> Hello
>
> While applying the follow_xff patch I keep getting this error
>
> root@spclnx squid-2.5.STABLE4 # patch -p1 </home/simon/follow_xff-2.5.patch
> missing header for unified diff at line 4 of patch
> 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:
> --------------------------
> |Index: acconfig.h
> |--- acconfig.h 1 Jul 2002 17:24:48 -0000 1.13.2.3
> |+++ acconfig.h 23 Nov 2003 14:20:06 -0000
> --------------------------
> File to patch:
>
> I have tried it on different branches.
>
> squid-2.5.STABLE4
> Simon

-- 
"Even if you're on the right track, you'll get run over if you just sit
there."
-- Will Rogers
Received on Fri May 21 2004 - 01:54:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT