patch and ebuild fixes attached.
Created attachment 197627 [details, diff] mint files patch
Created attachment 197628 [details, diff] ebuild patch
applied with some small changes, thanks