IBM has agreed to settle a patent lawsuit against Zynga after it won a $45 million jury verdict against the mobile game maker earlier this year, according to a filing in Delaware federal court.