Get some granulated hide glue. Mix one tablespoon glue granules with an slightly greater amount of cool tap water, by weight. Park the glue container (I use a glass baby food jar) in the fridge overnight to allow the granules to absorb the water.
Find clamps that are wider than the ribs of your bass.
When the water has been absorbed, make a simple double boiler to heat the glue to 140 degrees Fahrenheit. I sit my glue jar in a pan of water and measure the temperature of the glue (not the water) with a probe thermometer. Mix well as it heats through.
When the glue is heated, pull the open seam open slightly and use a basting brush to spread the glue into the open seam. Clamp immediately before it cools and sets, which will take 60 to 90 seconds depending on room temperature. Don't worry about being neat, you can peel and pick the excess glue off later. Let it rest for 24 hours.
As for the broken edges, you can buy thin sheets of suitable wood from a craft store. Cut new wood to fit where needed and glue into place with hot hide glue.
"All of the poor people who started rock and roll are cool." -- Iggy