Filling dings and gaps in foam?

I picked up some cheap xps foam from a local construction site. It's in great condition for the most part, but has a few small gouges and dents. Any ideas on what would be the best to fill them in with? Standard spackle or joint compound?
Thanks!
Thanks!