Again missing headers (and some more). Steps to reproduce: 1. emerge -v1 =x11-misc/fbpager-0.1.4 The error messages: 1. > StringUtil.cc: In function 'char* FbTk::StringUtil::strdup(const char*)': > StringUtil.cc:46: error: 'strlen' was not declared in this scope > StringUtil.cc:48: error: 'strncpy' was not declared in this scope 2. > StringUtil.cc:166: error: no matching function for call to 'transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)' I don't understand the patch at all. I found similar problem on http://www.virtualbox.org/attachment/ticket/936/gcc-4.3.patch and simply copied the code. Tested on x86 My emerge --info: as in the bug 226663, comment 2. I include the patch.
Created attachment 156763 [details, diff] fbpager-0.1.4-gcc43.patch
The patch looks good.
+ 20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/fbpager-0.1.4-gcc43.patch, fbpager-0.1.4.ebuild: + Fix for gcc-4.3. Bug 226857. Thanks to Marek Miller <mlm@shells.pl>. +