View Full Version : [ubuntu] Applying Patch

July 7th, 2011, 12:36 AM
Hello I am having a problem with empathy on ubuntu 11.04, you see I used ubuntu before as a server but now I am using it as a desktop too, windows is a pain in the ***, I can tell with 2 days of ubuntu that this is so much easier...


I am having a problem with empathy, it doesn't show my nick or my personal message on msn... Only my email!

So I found this:


and I made the patch anexed!

Then I did this on the terminal:

diff -ruN 0001-aliasing-use-new-public_set_alias.patch.old 0001-aliasing-use-new-public_set_alias.patch.new > 0001-aliasing-use-new-public_set_alias.patch.diff

Sorry for being such a noob but I don't even know how to setup the path for diff...

So how do I find it correctly? And how I setup the path? If I open nautilus it seems to be that the search on root is rather slow...

Thank you!

July 7th, 2011, 03:44 AM
diff generates a patch file, you apply it with the patch program.

Typically patch -p1 < 0001-aliasing-use-new-public_set_alias.patch

July 7th, 2011, 04:34 AM
Hello I am trying to do:

sudo patch -p1 < /home/carlos/Área de Trabalho/0001-aliasing-use-new-public_set_alias.patch


sudo patch -p1 < 0001-aliasing-use-new-public_set_alias.patchbash: 0001-aliasing-use-new-public_set_alias.patch

and the bash retrieves to me that the file or the directory is inexistent! Maybe this fix is outdated?

July 7th, 2011, 02:39 PM
Are you in the directory of the source code of the program it is supposed to patch?