I decided to repaint my bedroom a few weeks ago. I removed the closet door in preparation for it, then painted the room. I went to reattach the closet door and noticed that the pivot bracket on the ground wasn't screwed in to anything. Looking closer, it seems that the drywall it was attached to has disintegrated.
Bracket near the wall:
Close up of the wall
What should I do in order to re-attach this bracket to the wall?