Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218929

Summary: app-text/ocrad-0.15 fails w/ gcc-4.3.0; bump and patch
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: ssuominen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 154579    
Bug Blocks: 198121    
Attachments: ocrad-0.15--0.17.ebuild.patch
ocrad-0.17-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:18:02 UTC
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:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:19:52 UTC
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.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:20:52 UTC
Created attachment 150637 [details, diff]
ocrad-0.17-gcc43.patch

Fixes the problem. Snatched from Fedora.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:22:13 UTC
Just noticed bumping bug 154579
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-04-22 19:34:28 UTC
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.