[101532] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Trouble with Patch

daemon@ATHENA.MIT.EDU (Warren J. Beckett)
Fri Nov 27 04:01:24 1998

From: "Warren J. Beckett" <Magistrate@NOWIS.TZO.COM>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Date: Fri, 27 Nov 1998 19:52:34 +1100
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Thanks for the advice.. Worked like a charm :)

Warren

> -----Original Message-----
> From:	Thomas Ribbrock (Design/DEG) [SMTP:argathin@iname.com]
> Sent:	Friday, November 27, 1998 2:52 AM
> To:	'redhat-list@redhat.com'
> Subject:	Re: Trouble with Patch
> 
> Warren J. Beckett writes:
> > 
> > I am a newbie and am having trouble with the patch command. I'm
> trying
> > to patch my kernel (2.0.36) 5.2 with a ipchains patch and nothing
> > happens. If I enter for example gunzip patch-ipchaines.blah | patch
> p0
> > it return to a prompt straight away, no error, no information, no
> > nothing.
> [...]
> 
> Ok, here's what I usually do:
> 1) I unpack the program I want to patch and install. In most cases,
> this is
>    a tarball, so I untar (gunzip, if necessary) it and usually end up
> with a
>    subdirectory containing all sources.
> 2) I copy the patch file into that directory.
> 3) if necessary, I gunzip that file (if the patch file ends in ".gz",
> that
>    is)
> 4) I use "patch -p1 < patchfile" to patch.
> 
> I have never patched the kernel (so far...), so I can't help you with
> your
> particular case, but maybe the generic steps are already of some help.
> 
> Regards,
> 
> Thomas
> -- 
>              "Look, Ma, no obsolete quotes and plain text only!"
> 
>      Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
>    "You have to live on the edge of reality - to make your dreams come
> true!"
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post