Cylinder wall weld??

if it's only temporary you could always smear some epoxy over the weld, then fit the head gasket and head before it sets up. i had to do that once and on a diesel truck too (much, much higher compression) and it worked just fine. it was good enough that my friend never did swap it out.
neil.