LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2005, 03:56 PM   #1
yourbrain48
LQ Newbie
 
Registered: Oct 2004
Location: winder, ga
Posts: 5

Rep: Reputation: 0
I feel like an idiot but how do you patch...


code that you want to compile.

Specifically the Sphinx text to speech that has problems with the gcc compiler

the patch is found at:
blahblah blah://lists.debian.org/debian-qa-packages/2004/08/msg00026.html
Thanks!
 
Old 02-09-2005, 04:18 PM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Well in that case you would save that diff (just the actual part that's the patch) as a file called patch (for example) and go to the directory where the source is and do

patch -px < patch

where x depends on what directory level you are in. it will be a number 0-4 or whatever... Depends on how many /'s you need to strip off the diff file. Man patch will give you some hints, tho trial and error might be quicker. The wrong number will just give an error
 
Old 02-11-2005, 06:38 PM   #3
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
http://www.desktop-linux.net/bootsplash.htm


this provides a nice example of patching
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help an idiot with kenerl patch! ngan_yine Slackware 2 03-16-2005 11:41 AM
Yet again I feel like an idiot...(about drivers) SonicGT Linux - Newbie 2 11-07-2004 06:41 PM
Problems upgrading glibc. Very Frustrated. Feel like an idiot. :confused: maruson Linux - Software 2 08-25-2004 05:34 PM
Linux Makes Me Feel Like an Idiot GM287 Linux - General 27 06-28-2004 07:55 AM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-21-2004 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration