Contents of /net-misc/networkmanager/files/networkmanager-0.9.2.0-pre-sleep.patch

Fix openrc service going inactive while active connections are present (bug #402613, thanks to Thomas Witt). Try to be more user-friendly by waiting a few seconds before marking the service as inactive. Dispatch a pre-sleep event to unmount network filesystems before suspending (bug #402085, thanks to Marien Zwart). Do not truncate WPA passwords at '#' character (bug #402133, thanks to John Hardin).
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)