Ill weather friend
One with whom you share quality time only when you each have something mutual to bitch about, and the rest of the time you have little in common to talk about.
Mike's a good ill weather friend. I was home late last night because we spent half an hour bitching about the boss, even though most of the time we don't really have a whole lot in common.