I'm not sure about the patch and the Mac OS part, the Mac OS part looks weird to me anyway :-)
I've tested the patch on Gentoo Linux, ghostscript-gpl from SVN trunk (with the same patches that Gentoo had for 9.00), cups-1.4.6 and hplip-3.10.9 (patched with above patch)
I'm not sure about the patch and the Mac OS part, the Mac OS part looks weird to me anyway :-)
I've tested the patch on Gentoo Linux, ghostscript-gpl from SVN trunk (with the same patches that Gentoo had for 9.00), cups-1.4.6 and hplip-3.10.9 (patched with above patch)