Skip to contentSkip to conversation

How to apply patch?

LARTC casey wong 3 participants 3 messages Apr 26, 2003

lore
Share & tools
lore
#1 lore raw

Hello,

Quoted 4 lines · casey wong

I download the routes-2.4.20-9.diff and try to apply it
with #patch -p1 routes-2.4.20-9.diff on my RH9 but it just stop there.

man patch

1. patch on stdin:

#patch -p1 < routes-2.4.20-9.diff

2. same

#cat routes-2.4.20-9.diff | patch -p1

3. patch as input file

#patch -p1 -i routes-2.4.20-9.diff

Regards

--
Julian Anastasov <[email protected]>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to casey wong

Hi

You have to do

patch -p1 < x.diff

hare
----- Original Message -----
From: "casey wong" <[email protected]>
To: <[email protected]>
Sent: Saturday, April 26, 2003 9:52 AM
Subject: [LARTC] How to apply patch?

Quoted 5 lines

I download the routes-2.4.20-9.diff and try to apply it
with #patch -p1 routes-2.4.20-9.diff on my RH9 but it just stop there.

Quoted 8 lines

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/