After a quick glance (but no try), I don't think there is need for a patch. "tools/install/create_lazarus_slacktgz.sh" should be able to build a slackware package from lazarus sources. One can also use lazarus slackbuild from slackbuild.org. For my part, I prefer to use the official binaries. And the conversion should not take much longer than a build.