Apache 2.x contains a bug in it's PCRE implementation. This ebuild patch + Apache patch combination (as I understand it) allows apache to make use of an external PCRE library when the external-pcre USE flag is set. It's necessary for the mod_caml ebuild I'm about to submit.
Created attachment 64845 [details, diff] external-pcre Apache patch
Created attachment 64846 [details, diff] Apache Ebuild Patch Against 2.0.54-r8
Please take this upstream, we are trying to keep as close to upstream as possible. The only patches we are adding to the gentoo patchset are ones that are required to make apache work with gentoo, or that are security fixes.
It's supposed to be included in Apache 2.1, so it's already been "taken upstream". I just wanted to submit a patch here because I have no idea when 2.1 will be released.