Created attachment 285009 [details] ebuild applying the patch media-gfx/pencil-0.4.4_beta fails to compile under gcc-4.6.1 because it contains invalid C++ code: in src/graphics/vector/beziercurve.cpp it takes the address of a temporary object (return value). The attached patch fixes this. Helmut.
Created attachment 285011 [details, diff] patch to avoid taking an address of a return value.
Patch added. Thanks for the patch and the bug report.