LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to apply patches (https://www.linuxquestions.org/questions/linux-general-1/how-to-apply-patches-66112/)

NGraphiX 06-17-2003 05:15 AM

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?

mhearn 06-17-2003 06:04 AM

patch -p1 <file.diff


All times are GMT -5. The time now is 02:07 AM.