if you can see an existing part of the pin that broke off, i've done this,
very carefully using a hand drill (manual not electric) and a REALLY tiny bit, drilled a little hole into the center of the pin part, talking only 1/2mm (thats HALF mm not 1 or 2) deep and VERY carefully soldered a lead from a resistor or diode (diode leads tend to be a lot bigger). Worked fine.