Due to some increased strictures, there needs to be explicit including of various files. The original debian bug shows more detail.
Have created adapted patch and ebuild vs 2.0.3
Created attachment 180089 [details, diff]
Created attachment 180090 [details]
Just wondering why the patch adds sometimes stdio.h and sometimes cstdio. I thought that it should always be cstdio in cpp-files?
when using the .h versions, their functions are considered to be in the global namespace and don't need to be explicitly prefixed with std::. it sometimes doesn't matter and sometimes does.
+ 11 Apr 2009; Peter Alfredsen <firstname.lastname@example.org>
+ +files/libsmbios-2.0.3-gcc44.patch, libsmbios-2.0.3.ebuild:
+ Fix bug 256777, failure with gcc-4.4. Thanks to Kent Fredric
+ <email@example.com> for the patch.