Re: how to install a patch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-01-24 at 11:51 -0700, Rebecca Bendick wrote:
> Well, I found a patch that seems like it would solve the  
> libSystemStubs problem (http://gcc.gnu.org/ml/gcc-patches/2005-07/ 
> msg00532.html), but I don't know how to use it.  Could someone tell  
> me what to do to insert it in the right place?

patch is your friend. Save the message in the root of the source tree
and run something like:

patch -p0 < saved_msg.diff

Patch should ignore the email message header. I usually use dry-run to
make sure it will apply cleanly (and I've got the -p level correct).

patch -p0 --dry-run < saved_msg.diff

If it spews a load of warnings and failed hunks then try adjusting the
-p to something like -p1

See http://drupal.org/node/323 for more background


> Thanks!

--
Alex, homepage: http://www.bennee.com/~alex/
Under deadline pressure for the next week. If you want something, it can
wait. Unless it's blind screaming paroxysmally hedonistic ...


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux