sci-electronics/gnucap-0.35 fails with gcc43 as follows: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DNDEBUG -O2 -march=athlon64 -fomit-frame-pointer -pipe -c -o ap_construct.o ap_construct.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DNDEBUG -O2 -march=athlon64 -fomit-frame-pointer -pipe -c -o ap_convert.o ap_convert.cc In file included from ap_construct.cc:26: ap.h: In member function ‘bool CS::match1(const std::string&) const’: ap.h:105: error: ‘strchr’ was not declared in this scope ap_construct.cc: In constructor ‘CS::CS(CS_FILE, const std::string&, int)’: ap_construct.cc:37: error: ‘strcpy’ was not declared in this scope ap_construct.cc:40: error: ‘strerror’ was not declared in this scope ap_construct.cc: In constructor ‘CS::CS(const std::string&, int)’: ap_construct.cc:62: error: ‘strcpy’ was not declared in this scope ap_construct.cc: In member function ‘CS& CS::operator=(const std::string&)’: ap_construct.cc:95: error: ‘strcpy’ was not declared in this scope make[2]: *** [ap_construct.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ap_convert.cc:24: ap.h: In member function ‘bool CS::match1(const std::string&) const’: ap.h:105: error: ‘strchr’ was not declared in this scope make[2]: *** [ap_convert.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-electronics/gnucap-0.35/work/gnucap-0.35/modelgen' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-electronics/gnucap-0.35/work/gnucap-0.35' make: *** [all] Error 2 * * ERROR: sci-electronics/gnucap-0.35 failed. I don't know if the science herd wants to keep this old version around or one of the newer snapshots, but I'll attach a patch for this one below.
Created attachment 175924 [details] gnucap-0.35 gcc43 patch Patches gnucap-0.35 for gcc43.
Reassigning to sci-electronics herd.
Applied, thanks.