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

Bug 217980

Summary: x11-misc/bbkeys-0.9.0-r1 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Commonbox Team <commonbox>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: bbkeys-0.9.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-16 16:41:30 UTC
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDEFAULTRC=\"/usr/share/bbkeys/bbkeysrc\" -DDEFAULTSTYLE=\"/usr/share/bbkeys/defaultStyle\"   -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3  -I/usr/include/bt -I/usr/include/freetype2   -MT actions.o -MD -MP -MF ".deps/actions.Tpo" \
          -c -o actions.o `test -f 'actions.cc' || echo './'`actions.cc; \
        then mv -f ".deps/actions.Tpo" ".deps/actions.Po"; \
        else rm -f ".deps/actions.Tpo"; exit 1; \
        fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDEFAULTRC=\"/usr/share/bbkeys/bbkeysrc\" -DDEFAULTSTYLE=\"/usr/share/bbkeys/defaultStyle\"   -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3  -I/usr/include/bt -I/usr/include/freetype2   -MT Config.o -MD -MP -MF ".deps/Config.Tpo" \
          -c -o Config.o `test -f 'Config.cpp' || echo './'`Config.cpp; \
        then mv -f ".deps/Config.Tpo" ".deps/Config.Po"; \
        else rm -f ".deps/Config.Tpo"; exit 1; \
        fi
actions.cc: In constructor ‘Action::Action(Action::ActionType, Display*, KeyCode, unsigned int, const std::string&)’:
actions.cc:53: error: ‘atoi’ was not declared in this scope
make[2]: *** [actions.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Config.cpp: In member function ‘bool Config::getBoolValue(const std::string&, const bool&)’:
Config.cpp:49: error: ‘strcasecmp’ was not declared in this scope
make[2]: *** [Config.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/bbkeys-0.9.0-r1/work/bbkeys-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/bbkeys-0.9.0-r1/work/bbkeys-0.9.0'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-16 16:42:24 UTC
Created attachment 149958 [details, diff]
bbkeys-0.9.0-gcc43.patch

Fixes the problem. Snatched from Fedora.
Comment 2 David Shakaryan (RETIRED) gentoo-dev 2008-04-24 08:55:18 UTC
Fixed! Thanks again Peter