Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Applying Patches

gitluin edited this page Apr 8, 2020 · 6 revisions
  1. Download the patch you want from the patches directory in the repository.
  2. patch sara.c < patchname.patch will apply the patch to sara.c.
  3. If you want to run the patch in reverse (i.e. undo it), run patch -R sara.c < patchname.patch.
  4. Recompile with sudo make install clean. If the patch adds something that requires new libraries (like xinerama.patch), adjust the Makefile accordingly before recompiling.
    • I.e. for xinerama.patch, you need to add -lXinerama to LIBS and -DXINERAMA to CFLAGS in the Makefile. This type of thing will be patch-dependent.
Clone this wiki locally