Bug 203937 - net-wireless/wpa_supplicant gcc 4.3 patch
|
Bug#:
203937
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mobile@gentoo.org
|
Reported By: dirtyepic@gentoo.org
|
|
Component: GCC Porting
|
|
|
URL:
|
|
Summary: net-wireless/wpa_supplicant gcc 4.3 patch
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-01-01 01:09 0000
|
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
Can you test the recently committed 0.5.10? If this still applies, please let
me know and I will commit it.
Created an attachment (id=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.