Patches
From Synergy Wiki
Where are they?
In the issue tracker (patches).
Applying Patches
Applying patches to Synergy can be somewhat tricky, beware of the following caveats:
- Many of the patches in the issue tracker are very old, so you'll be lucky if they match the current source code.
- Users who write the patch may not have cross-platform compatability in mind;
- Patches may not only break the build, but it may discreetly break functionality on other operating systems.
- Look for any potential security flaws.
Proceedure
- Choose the version to patch
- Always apply to the lowest version you wish to support (then merge upward)
- High number of votes, choose a stable release (e.g. 1.3, as of Jan 2011).
- Low number of votes, choose a beta release (e.g. 1.4, as of Jan 2011).
- Check out the latest version of the source code
- Attempt to reproduce the bug
- Never patch bugs you can't reproduce
- Apply the patch
- Test to see if the fix has worked
- Commit the fix to the repository
- Merge the fix to later versions
- Example: Release Process
- Update the issue (e.g. "Fixed in r123")
- Set the issue status to Fixed