how do I repair broken pipe under foundation
Broken/damaged drain pipes can be internally lined with a resin impregnated sleeve. There are limitations on size, size and type of damage, type of pipe, access, and pipe configuration. Check out this video: 
trenchless liner