ejabberd - Comments for "What is a diff, and what do I do with it?" https://www.ejabberd.im/node/2892 en Anonymous wrote: I can't https://www.ejabberd.im/node/2892#comment-51977 <div class="quote-msg"> <div class="quote-author"><em>Anonymous</em> wrote:</div> <p>I can't find a good tutorial on what to do with the patches that are floating around on this forum.</p></div> <p>Patches in Diff format do not only float around this forum, they are a common way to publish patches: <noindex><a href="http://en.wikipedia.org/wiki/Diff" rel="nofollow" >Diff in Wikipedia</a></noindex>. I'll give a very brief idea of it.</p> <div class="quote-msg"> <div class="quote-author"><em>Anonymous</em> wrote:</div> <p>How do I install or implement a .diff file?</p></div> <p>A patch in diff format only says what lines to change in other files. So you need the original files. For example, if you download a patch called fix-authentication.diff, that fixes a bug in ejabberd 2.0.0, you need the source code of ejabberd 2.0.0. And then:</p> <pre>$ cd ejabberd-2.0.0 $ patch -p0</pre> Wed, 12 Mar 2008 00:20:26 +0000 mfoss comment 51977 at https://www.ejabberd.im