Since 0.9.4, deprecated WEXT support can be disabled by passing --with-wext=no to configure.
Created attachment 307069 [details, diff] Introduce USE=wext to allow disabling WEXT support wext is enabled by default. While at it, I made it possible to build against libnl:3 if USE=wimax is disabled.
What are the advantages of disabling wext support? As far as I can tell, it doesn't get rid of any dependencies, and doesn't appreciably decrease build time or the size of installed files. > While at it, I made it possible to build against libnl:3 if USE=wimax is > disabled. I would prefer to avoid conditional patching if possible.
(In reply to comment #2) > What are the advantages of disabling wext support? As far as I can tell, it > doesn't get rid of any dependencies, and doesn't appreciably decrease build > time or the size of installed files. > I can disable WEXT in my kernel. > > While at it, I made it possible to build against libnl:3 if USE=wimax is > > disabled. > > I would prefer to avoid conditional patching if possible. I would agree with you in general, but in this particular case an old version of a library is being forced upon everyone just because a very small percentage of users need USE=wimax. Of course the best solution would be to port net-wireless/wimax to libnl:3, but that looks much less trivial.
Fixed in 0.9.4.0-r2. >*networkmanager-0.9.4.0-r2 (13 Apr 2012) > > 13 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > -networkmanager-0.9.2.0.ebuild, -networkmanager-0.9.2.0-r2.ebuild, > +networkmanager-0.9.4.0-r2.ebuild, > +files/networkmanager-0.9.4.0-force-libnl1.1-r1.patch, > +files/networkmanager-0.9.4.0-libnm-glib-ensure_inited.patch, > +files/networkmanager-0.9.4.0-libnm-glib-init-gerror.patch, metadata.xml: > Fix gnome-shell crashes when networkmanager is not running (thanks to > Firartix for reporting). Do not use obsolete wext API by default, and build > against libnl:3 when USE=-wimax (bug #410143, thanks to Davide Pesavento). > Add a separate USE flag for modemmanager because not very many people need > it. Drop old.