No, we do not have official patches for meson v0.47 compatibility.
However, there is a WIP (will be revived if I become available for hobby projects) patch for 0.49 and this might be helpful for your need.
I'm not sure if it's compatible with 0.47, but set 0.49 because 0.49 was available in the given environment for this instance.