LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-21-2007, 07:54 AM   #1
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Rep: Reputation: 32
Apply Patch


Hi friends,
i recently downloaded th DHCP patch "dhcp-3.0.2-gcc_3.4.3-2.patch" but when i tried to apply this patch using the command ""patch -Np1 -i dhcp-3.0.2-gcc_3.4.3-2.patch"" it asking file to patch: what to give here... when i gave the same patch file it is telling some error... please help me to apply this patch..and please tell me how to check whether a patch is successfully applied or not ..
thanks..

Last edited by culin; 02-21-2007 at 08:00 AM.
 
Old 02-21-2007, 08:02 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,900

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
You must run this command from inside the directory containing the source you want to patch and use the whole pat to your patch. I.e:
Code:
cd /directory/with-code/to/patch
patch -Np1 -i /path/to/dhcp-3.0.2-gcc_3.4.3-2.patch
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to apply a patch? ashlesha Linux - Software 4 12-07-2006 02:09 PM
how to apply patch? greythorne Fedora 1 03-09-2005 04:38 AM
Ho Do I Apply The CK Patch? AFI_Flame Linux - Software 1 11-14-2004 10:49 PM
How to apply PATCH? aurelio26 *BSD 3 10-07-2004 01:23 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM


All times are GMT -5. The time now is 10:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration