Page 1 of 1

How to apply a patch?

Posted: Wed Sep 07, 2011 9:53 pm
by fabio-s
Hi,

I'm trying to apply the patch to send custom emoticons found here:
http://www.dune.it/blog/2011/01/sending ... nal-build/

I believe I have all software correct: Xcode, Mercurial, Adium source code and the .diff file.
After installing Xocde and downloading Adium source code with Mercurial, I tried to apply the patch with the following code:
patch -p3 --dry-run < SendingCustomEmoticons.diff

I tried many variations of the -p# parameter (until 8 I guess) and nothing worked. Also tried moving the diff file to different folders.
Everytime I got the following error:
can't find file to patch at input line 11

Anyone can help me?

Thanks!

Re: How to apply a patch?

Posted: Mon Sep 12, 2011 7:58 am
by David Munch
Go on IRC and ask in #adium-devl, you should be able to get help there.