Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-17-2003, 05:15 AM   #1
Registered: Feb 2002
Location: Jerusalem, Israel
Distribution: Fedora Core 3
Posts: 154

Rep: Reputation: 30
how to apply patches

I downloaded a patch for gcc -3.2 and it ends with .diff
How do I apply it? do I just type

patch -Np1 file.diff

in the build dir?
Old 06-17-2003, 06:04 AM   #2
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
patch -p1 <file.diff


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 patches?? jadukor Slackware 4 12-02-2005 07:37 PM
RHEL kernel patches - how to apply? Bogdan Red Hat 0 03-18-2004 08:30 AM
How do you apply these WIFI patches? john_walsh54 Linux - Newbie 0 10-07-2003 06:49 AM
How do you apply those patches that are in text? KuRe Linux - Newbie 1 08-07-2003 04:20 PM
Can I apply ALL patches all the time? Dark_Helmet Linux From Scratch 2 06-08-2003 11:21 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 AM.

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