You could use fiberglass if you want a decent repair without taking the oil pan out. If you went several inches either way of the crack and wiped down the pan with a good solvent, I bet it would hold up for a long time.
Of course, welding it would be best.