today I restored a working pd-extended-0.40 package for Gentoo
you can find it at the usual place, pd-overlay 1, or as a single ebuild 2
I also provided a build log on my machine (athlon-xp; x86), just FYI, to check compiler warnings, issues with QA (notices about poor programming practices, runtime text relocations, ...), installed files, ... [3]
cheers! (waiting for pd-extended-0.41 branch ;))
[3]: --- 2.5MB, ask for it if you want it