he put up with buying clothes and other necessities , and he grudgingly ate dinner in an italian restaurant in north beach that smith remembered from a brief stint at the presidio when it was an active army base .