Bug 219547 - dev-embedded/srecord-1.29 fails w/ gcc-4.3.0; bump to 1.40
Bug#: 219547 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dev-embedded@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: dev-embedded/srecord-1.29 fails w/ gcc-4.3.0; bump to 1.40
Keywords:  
Status Whiteboard: 
Opened: 2008-04-27 23:16 0000
Description:   Opened: 2008-04-27 23:16 0000
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe
-ggdb3 -fno-rtti -Wall -I. -c prog/srec_cat/arglex3.cc
mv arglex3.o prog/srec_cat/arglex3.o
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe
-ggdb3 -fno-rtti -Wall -I. -c prog/srec_cat/main.cc
mv main.o prog/srec_cat/main.o
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe
-ggdb3 -fno-rtti -Wall -I. -c lib/arglex.cc
lib/arglex.cc: In member function ‘int arglex::token_next()’:
lib/arglex.cc:540: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::help(const char*) const’:
lib/arglex.cc:595: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::version() const’:
lib/arglex.cc:615: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::bad_argument() const’:
lib/arglex.cc:656: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘int arglex::token_first()’:
lib/arglex.cc:686: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::usage() const’:
lib/arglex.cc:716: error: ‘exit’ was not declared in this scope
make: *** [lib/arglex.o] Error 1

------- Comment #1 From Peter Alfredsen 2008-04-27 23:19:16 0000 -------
Created an attachment (id=151200) [details]
srecord-1.29--1.40.ebuild.patch

License -> GPL-3
emake DESTDIR="${D}" install apparently works

------- Comment #2 From Denis Dupeyron 2008-04-28 12:50:50 0000 -------
Fixed, thanks a lot for your patch.

Denis.