FWIW, pygame is in ubuntu, and they're normally pretty anal on things like patents. It might be worth grabbing their debian files to see what they did.