This is not a hard fix, today's specialty welding rods work wonders!!!!!
Take a bolt of the same size and coat it with carbon from an oxy/act torch that is only burning the fuel, no oxygen. That will coat the bolt and you can then screw the bolt into the hole. Then you can weld right over the broken part and you will have built up enough metal to replace what was lost.
If by chance the bolt will not unscrew after the repair, cut the bolt almost flush and drill and tap the bolt out. Use a soft bolt one with no marks on the head of the bolt, DO NOT USE GRADE 8 BOLTS............
That's how i repair cracked cases at my shop, cast iron, aluminum, it's the same process.
Redrockman