Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203937 - net-wireless/wpa_supplicant gcc 4.3 patch
Summary: net-wireless/wpa_supplicant gcc 4.3 patch
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2008-01-01 01:09 UTC by Ryan Hill (RETIRED)
Modified: 2008-11-15 14:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

wpa_supplicant-0.5.8-gcc-4.3.patch (wpa_supplicant-0.5.8-gcc-4.3.patch,1.33 KB, patch)
2008-01-01 01:09 UTC, Ryan Hill (RETIRED)
Details | Diff
wpa_supplicant-0.5.7.ebuild (wpa_supplicant-0.5.7.ebuild,6.22 KB, text/plain)
2008-11-15 14:54 UTC, Yaroslav Gorbunov
0.5.8.ebuild with gcc-4.3.patch included (wpa_supplicant-0.5.8.ebuild,6.18 KB, text/plain)
2008-11-15 14:55 UTC, Yaroslav Gorbunov

Note You need to log in before you can comment on or make changes to this bug.
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]
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.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2008-03-09 04:31:45 UTC
Comment 5 Yaroslav Gorbunov 2008-11-15 14:54:36 UTC
Created attachment 171866 [details]

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