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

Bug 203937

Summary: net-wireless/wpa_supplicant gcc 4.3 patch
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] GCC PortingAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: ygorbunov
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: wpa_supplicant-0.5.8-gcc-4.3.patch
wpa_supplicant-0.5.7.ebuild
0.5.8.ebuild with gcc-4.3.patch included

Description Ryan Hill (RETIRED) gentoo-dev 2008-01-01 01:09:31 UTC
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
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-01-01 01:09:54 UTC
Created attachment 139772 [details, diff]
wpa_supplicant-0.5.8-gcc-4.3.patch
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2008-03-09 02:06:55 UTC
Can you test the recently committed 0.5.10?  If this still applies, please let me know and I will commit it.  
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-03-09 03:01:29 UTC
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
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2008-03-09 04:31:45 UTC
Fixed.
Comment 5 Yaroslav Gorbunov 2008-11-15 14:54:36 UTC
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.
Comment 6 Yaroslav Gorbunov 2008-11-15 14:55:38 UTC
Created attachment 171868 [details]
0.5.8.ebuild with gcc-4.3.patch included