Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 533234

Summary: x11-misc/fbdesk-1.4.1 - ImagePNG.cc:242:89: error: 'memcpy' was not declared in this scope
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Samuel Bauer 2014-12-21 21:36:24 UTC
fbdesk fail to build with gcc:4.8
ImagePNG.cc:242:89: error: 'memcpy' was not declared in this scope

just '#include <cstring.h>' is missing in the file
I tested in local overlay to add to src_prepare:
sed -i '30i#include <cstring>' src/FbTk/ImagePNG.cc || die

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-22 09:15:40 UTC
Fixed without revision bump. Thanks for the report!
Comment 2 Samuel Bauer 2014-12-22 12:43:30 UTC
Thanks for the fix, it really makes me happy to see it happening so fast.
As I'm currently switching to gcc:4.8, I have a few other undefined/missing symbols issue, I'll open further bugs faster also.