Created attachment 345176 [details, diff] patch to include strings.h to use memcpy one has to include strings.h (as ever) But now (gcc 4.7.2 or later) generates an error.
Thanks for the report and patch! Indeed it was provided via libpng headers inclusion, but this is no more the case in 1.6 I added the patch in current ~arch ebuild