How to apply a patch onto Krita

Created by Dmitry Kazakov
Keywords:

1) Download a patch to your hard drive

2) Go to the directory where Krita sources are stored. If you compiled using "Krita for Cats" tutorial [0], the command is:

cd $HOME/kde4/src/calligra

3) Apply the patch:

patch -p1 < /path/to/the/downloaded/file.patch

4) Go to the build directory:

cd $HOME/kde4/build/

5) Build as usual:

make -j9 install

[0] - http://www.davidrevoy.com/article193/guide-building-krita-on-linux-for-cats