I already reported this bug for the x86 arch http://bugs.gentoo.org/show_bug.cgi?id=55788. I tested this new patch shipped with the x86 gentoo-sources, but it did not compiled clean. After some research I found out the problem which is described at http://lists.openswan.org/pipermail/users/2004-May/000816.html and after this patch it compiled just fine. I also noticed that gentoo-sources-2.4.26-r6 ships with a gentoo-sources-2.4.26-OpenSWAN-CompileFix.patch which does the same patching as described at the above website.
Steps to Reproduce:
2.4 has been deprecated by the ppc team and is no longer available in portage.
The reason for this is that it is no longer supported by Benjamin Herrenschmidt as all development has moved to 2.6.