Re: I stink at patching. :(

Jon Baumgartner <jon-2Y5kQnAlmJQeFak//[email protected]> Wed, 16 Jun 2004 12:26:30 -0400
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
On 6/16/2004 12:07 PM David Morse wrote:

>I don't know what my deal is, but I just stink at
>patching!  Can someone stick the patched sputnik.pm on
>the web somewhere?
>
>abu:/usr/local/src/YoSucker-pr55/lib# cp
>/tmp/sputnik.patch .
>abu:/usr/local/src/YoSucker-pr55/lib# patch <
>sputnik.pm
>patch: **** Only garbage was found in the patch input.
>abu:/usr/local/src/YoSucker-pr55/lib# less
>sputnik.patch
>abu:/usr/local/src/YoSucker-pr55/lib# patch -p0 <
>sputnik.pm
>patch: **** Only garbage was found in the patch input.
>  
>
You're trying to patch the file with the original file, not the patch. 
Try this instead:

abu:/usr/local/src/YoSucker-pr55/lib# patch <sputnik.patch

You might need -p0.

jon


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND