In spite of the fact that it
should be replaced, it
can be repaired (at least, temporarily - to make it watertight) by using an appropriate "Epoxy Putty" - largely, on the inside.
(Here is just one example of such a product -
Loctite All Purpose 2 oz. Epoxy Putty-1999131 - The Home Depot )
This product "mixes" like modeling clay.
Clean the "crack" and the inside of the box, mix the product, apply it to the "crack" and the inside of the box, squeeze the parts together, remove
most of the excess on the
outside and hold the parts in position with "Duct" tape (or similar.)
Smooth out the excess on the
inside of the box - with a depth of about 1 to 2 mm for about 5 mm on either side of the "crack"
(This will act like a "plaster cast", a "damp finger" can do the "smoothing" - and you have only 5 minutes from mixing the product to complete the process)!
Retain the "excess" until it is "as hard as a rock" - at least 30 minutes - then, remove the "Duct" tape.
You
should find that the box has been "repaired", if the product has adhered to the inside - as it should if the surfaces have been cleaned properly.