Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218929 - app-text/ocrad-0.15 fails w/ gcc-4.3.0; bump and patch
Summary: app-text/ocrad-0.15 fails w/ gcc-4.3.0; bump and patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on: 154579
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-22 19:18 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-22 19:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ocrad-0.15--0.17.ebuild.patch (ocrad-0.15--0.17.ebuild.patch,867 bytes, patch)
2008-04-22 19:19 UTC, Peter Alfredsen (RETIRED)
Details | Diff
ocrad-0.17-gcc43.patch (ocrad-0.17-gcc43.patch,3.01 KB, patch)
2008-04-22 19:20 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.