Need a leveling/patching compound

I have an outdoor patio slab, concrete and partially sheltered. I need to level out and waterproof a number of depressions in the concrete where 8"x8" wooden posts are imbedded in the concrete. The depressions are about 1" deep and 1 sqft wide.
Since the wood and the concrete have slightly different expansions, I would need a material that is not completely brittle. I am trying to avoid water infiltration around the post and potential for dry rot.
Epoxy, what kind? Dense urethane Foam? Cementitious patch with caulk around wooden posts?
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.