To update to Firefox 3.5.x on 12.2, I copied the 13.0 mozilla-firefox sources directory to my build directory.
I then grabbed the latest Firefox sources from the 13.0 patches sources.
I edited my copied SlackBuild to the new version and built a new package.
Relatively straightforward.