LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2008, 05:19 PM   #1
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Rep: Reputation: 30
Patching xcdroast with a wav patch


I ripped and burned audio files, using xcdroast, but there is no audio playback on my portable cd player.
I was advised to do a wav patch, which I found at
http://www.xcdroast.org/xcdr098/patches/wav.patch
However, after looking at the man pages for diff and patch, I still don't know how to do this patch.
 
Old 03-04-2008, 07:28 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
This is about the shortest set of instructions I've found on how to apply a patch:
Quote:How to apply a patch in linux

Quote:
A patch can be applied by issuing the following command:

patch -p0 < patch-file

This has to be done in the correct directory. Simply look at the patch file, in the first few lines you should see something like this:
--- pixman-remap.h 22 Aug 2005 04:02:33 -0000 1.5
+++ pixman-remap.h 21 Nov 2005 19:46:40 -0000 1.7

This tells you that you will need to find the file pixman-remap.h and change to the directory containing this file before you apply the patch.
I'm assuming the patch file you have has a .gz extension. Run 'zcat <patch file name> | head' to see the top few lines of the file. As the example above says, it should tell you which file it proposes to patch.

Then run 'locate <filename>' using the filename from zcat, and that should give you the entire path to that file. Put the patch file in the same folder, cd into that folder, and as root run the patch command as given above, substituting the patch file name in place of patch-file.
 
  


Reply



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
Patching xcdroast for wav recognition. fof3 Linux - Newbie 1 03-04-2008 10:29 PM
patching of MPLS patch with kernel-2.4.20-6 priyanka.chandel Linux - Kernel 0 12-15-2006 02:14 AM
Patching 2.6.9 Kernel w/ Con Kolivas patch? (Many searches done) DreameR-X Linux - Newbie 2 12-17-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 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
Open Source Consulting | Domain Registration