U.S. stock futures gained Sunday, despite coming off the worst week for tech stocks since April, as investors clung to indications that a deal may be in the works to end the government shutdown.