just tested on x86, postgresql-7.4.7: the patch is needed, else compile phase is broken. Why it has been removed?
Sorry, I tested it with postgresql-8.0.1 but I didn't with previous versions due to my lazy. I've fixed it in portage tree now. Thank you for the reporting.