VPATH = . prefix = /usr datadir = $(prefix)/share infodir = $(datadir)/info mandir = $(datadir)/man OK. Now you can run make. i686-pc-linux-gnu-g++ -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o common.o common.cc i686-pc-linux-gnu-g++ -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o rational.o rational.cc common.cc: In member function ‘bool Charset::enable(const char*)’: common.cc:69: error: ‘strcmp’ is not a member of ‘std’ common.cc: In member function ‘void Charset::show_error(const char*, const char*) const’: common.cc:91: error: ‘strcmp’ is not a member of ‘std’ common.cc: In member function ‘bool Transformation::set(const char*)’: common.cc:103: error: ‘strcmp’ is not a member of ‘std’ common.cc: In member function ‘void Transformation::show_error(const char*, const char*) const’: common.cc:111: error: ‘strcmp’ is not a member of ‘std’ common.cc: In member function ‘bool Control::set_format(const char*)’: common.cc:122: error: ‘strcmp’ is not a member of ‘std’ common.cc:123: error: ‘strcmp’ is not a member of ‘std’ make: *** [common.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce:
Created attachment 150635 [details, diff] ocrad-0.15--0.17.ebuild.patch Patch to bump to 0.17. Econf can be used now, emake likewise. Keywords -> ~arch.
Created attachment 150637 [details, diff] ocrad-0.17-gcc43.patch Fixes the problem. Snatched from Fedora.
Just noticed bumping bug 154579
hope you don't mind but.. *ocrad-0.17 (22 Apr 2008) 22 Apr 2008; Samuli Suominen <drac@gentoo.org> +files/ocrad-0.17-gcc43.patch, -ocrad-0.10.ebuild, +ocrad-0.17.ebuild: Version bump for bug 218929, thanks to Peter Alfredsen for reporting and GCC 4.3 patch. thanks Peter.