Comment 58 for bug 1034928

@Johan (sorry, I forgot to reply): unfortunately, that's not the right way to apply a patch. A patch contains just the differences between the old version of a file and the new version. To get the new version of the file, you need to "combine" the old version with the diff. Generally, to apply a patch you should use the following commands:

  cd /path/to/the/file
  patch -p0 < /path/to/the/patch

Though, this might not work in every case (see "man patch" for more information).