Voltage is voltage. Is the supply AC or DC (probably DC) and at what rate? Splicing the connector on to a new external supply is probably your best bet.
That said, power supplies ARE repairable, but since you asked the question, I'd advise against it. Some of those big capacitors can pack quite a wallop even with the computer unplugged.