the attached patch adds some missing includes that cause build failures with GCC 4.3. later versions of wpa_supplicant also seem affected. In file included from .ui/networkconfig.cpp:29: .ui/../networkconfig.ui.h: In member function 'virtual void NetworkConfig::addNetwork()': .ui/../networkconfig.ui.h:127: error: 'atoi' was not declared in this scope In file included from .ui/userdatarequest.cpp:25: .ui/../userdatarequest.ui.h: In member function 'int UserDataRequest::setParams(WpaGui*, const char*)': .ui/../userdatarequest.ui.h:22: error: 'free' was not declared in this scope .ui/../userdatarequest.ui.h:29: error: 'free' was not declared in this scope .ui/../userdatarequest.ui.h:34: error: 'atoi' was not declared in this scope .ui/../userdatarequest.ui.h:49: error: 'free' was not declared in this scope
Created attachment 139772 [details, diff] wpa_supplicant-0.5.8-gcc-4.3.patch
Can you test the recently committed 0.5.10? If this still applies, please let me know and I will commit it.
yep, still applies. i filed a bug upstream so hopefully they'll fix it for the next release. http://w1.fi/bugz/show_bug.cgi?id=251
Fixed.
Created attachment 171866 [details] wpa_supplicant-0.5.7.ebuild I have this problem in wpa_supplicant-0.5.7 and wpa_supplicant-0.5.8. wpa_supplicant-0.5.10-gcc-4.3.patch is not included in this ebuilds Adding epatch "${FILESDIR}/${PN}"-0.5.10-gcc-4.3.patch in 0.5.7 and 0.5.8 ebuilds solve problem.
Created attachment 171868 [details] 0.5.8.ebuild with gcc-4.3.patch included