A patch describes code changes that can either be applied or removed from a system containing a version of the source code. All large software projects, including FUDforum, use patches to move from one software version to the next.
To apply a patch manually, remove lines starting with a minus (-) and add lines starting with a plus (+) to get to the new version. The below procedure can be used to install patches automatically.
Steps to apply a FUDforum patch on your system (handy if you cannot wait for the next release or if you want to test a patch on your system to ensure it will work once the final release is made available):
patch -p2 <FUDforum_patchset_11869.diff
mysql -ufudforum -pmypassword fuddb mysql> CREATE INDEX fud28_users_i_jd ON fud28_users (join_date); Query OK, 2 rows affected (0.05 sec) Records: 2 Duplicates: 0 Warnings: 0
If a patch breaks your forum, and you want to uninstall it, run the patch command with the -R option:
patch -R -p2 <FUDforum_patchset_11869.diff
Remember to rebuild your themes when done.