Lawmakers on Friday approved a complex package of spending cuts , accounting maneuvers and raids on local government coffers to fill California 's gigantic budget deficit , providing hope that the state might begin a slow climb out of a deep financial hole .