Here are the instructions for creating patches: https://openacs.org/bugtracker/openacs/patch-submission-instructions.html
which is linked from the New Patch page in bugtracker.