Lion icon Upgrading Xdvik by Patching Logo
Sourceforge Xdvik Project Page

SourceForge Links

This page explains how to apply the *.diff.gz patches that can be downloaded here to upgrade an older xdvik source distribution.

If you're looking for an easy way to always keep your version up-to-date, consider using the sourceforge CVS instead; see our page on Using CVS to upgrade/download xdvik for instructions on how to do that.

Otherwise, to upgrade e.g. xdvik-22.40n to xdvik-22.40o, proceed as follows:

  1. Download the patch file xdvik-22.40o-22.40n.diff.gz.
  2. Let's assume that your directory layout looks like this:
    Enter the following commands ($ is the shell prompt):
          $ cd xdvik-22.40n
          $ gunzip -c ../xdvik-22.40o-22.40n.diff.gz | patch -p1
  3. After that, re-configure and recompile xdvik.

          $ make clean
          $ ./configure
          $ make

If you need to upgrade between several version steps, you'll need to apply all patches in turn, starting with the one matching your lowest version number, and working your way upward. (This might however be more hassle than downloading the entire new version, unless you have a very slow connection ...)

Last updated on Sun, 10 May 2009 22:14:33 +0200 by Stefan Ulrich Valid HTML 4.01!