Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto apply a diff patch?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Fri Jan 23, 2004 3:18 pm    Post subject: howto apply a diff patch? Reply with quote

i have a stupid noob question: i have kde-3.2_rc1 and k3b-0.10.3-r2. in order to be able to burn CDs, i have to apply a patch to k3b. i have this patch as a small diff file. now my stupid question: how do i apply this patch? i did some searching in the forums, but didn't find anything suitable. is there a howto somewhere or a manpage? can i just copy&paste the diff file somewhere in the k3b sources or could i modify the k3b ebuild?

thanks
tom
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Jan 23, 2004 3:32 pm    Post subject: Reply with quote

Use patch

Code:
patch original_file < diff_patch

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Fri Jan 23, 2004 3:34 pm    Post subject: Reply with quote

don't forget to apply the right -pX option...
see man patch
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum