Hi, I have modified the current wpa_supplicant-0.4.7.ebuild to include the madwifi driver (patch attached). The compilation requires the ebuild to fetch the madwifi-driver sources (I used the same as in the madwifi-driver package) - the include files are required for compilation. Unfortunately, driver_madwifi.c references to a constant only present in the current SVN repository of madwifi-driver :-( So I used a patch to remove the corresponding line - it works anyway (at least in all networks where I could test it) ;-)
Created attachment 74559 [details, diff] Compile madwifi driver
Created attachment 74560 [details, diff] Remove offending constant from driver
*** This bug has been marked as a duplicate of 113432 ***