Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How to Apply Patches

How to Apply Patches
Thread Tools
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status: Offline
Reply With Quote
Jan 7, 2003, 01:52 AM
 
I'd like to apply patches to an application. I've compiled the source with './configure', './make', and './make install', but now need to apply 8 patches to it. How is this done?
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 7, 2003, 10:13 AM
 
Patches to the source? I assume you're talking about open-source diff patches, since otherwise I'd expect an installer.

If this is the case, you patch the source, not the binary, and then you run "make" again. To patch the source, go into the source and run:

Code:
patch -p0 < patchfile
replacing patchfile with the actual patch file name. Typically patches like this are distributed as temporary fixes/build shims until they can be rolled into the source. You wouldn't run lots of them.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:54 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2