patch $total_sources prior to 1.2 release