You should create a issue as an feature request in the bugtracker and attach your file there.
It would be best to make your modifications against development version (trunk) of Lazarus, create a patch from your working version and attach it to the bug report.