This is a clone of the hearts game that comes with Windows 9x for KDE. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 63743 [details] hearts-1.98.ebuild
too bad it fails to build with gcc-3.4 ... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I../../common -DQT_THREAD_SUPPORT -D_REENTRANT -foperator-names -g -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=k8 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -foperator-names -c -o buffer.o `test -f 'buffer.cpp' || echo './'`buffer.cpp In file included from buffer.h:7, from buffer.cpp:1: message.h:133: error: prototype for `const T Message::arg(size_t) const' does not match any in class `Message' message.h:59: error: candidates are: template<class T> const T Message::arg(unsigned int) const message.h:54: error: QString Message::arg(size_t) const message.h:133: error: template definition of non-template `const T Message::arg(size_t) const' make[3]: *** [buffer.o] Error 1
Created attachment 64095 [details, diff] patch for gcc 3.4
Created attachment 64096 [details] hearts-1.98.ebuild Make use of the patch for gcc-3.4
even with that patch it still fails in the same way
Created attachment 65203 [details] hearts-1.98.ebuild
Created attachment 65204 [details, diff] new patch I didn't realize you were in 64 bits. Sorry! Please take the latest ebuild and the latest patch to test.
great, that patch did fix it now in portage