We currently have Tools/wpe/patches/cairo-egl-device-create-for-egl-surface.patch. We need to either upstream that patch and wait patiently for the next cairo release, or else find a way to not require it, since we surely don't want to create a release that won't actually build on any platforms. I've done a bit of grepping and I think it may be completely unused, so this might be an easy problem to resolve.
I didn't do a clean build, but reran update-webkitwpe-libs and rebuilt WPE, and it builds just fine without the patch. Let's get rid of it and see if anything breaks. But I guess it's only needed downstream or something.
Created attachment 325088 [details] Patch
Comment on attachment 325088 [details] Patch r+ (informal) Same opinion here, and I also checked that building without the patch seems to work fine.
Comment on attachment 325088 [details] Patch Clearing flags on attachment: 325088 Committed r224190: <https://trac.webkit.org/changeset/224190>
All reviewed patches have been landed. Closing bug.
For reference, usage of cairo_egl_device_create_for_egl_surface() has been removed in this commit (March 2017) downstream: https://github.com/WebPlatformForEmbedded/WPEWebKit/commit/8bd19fc8035813f1b7334d7ff716e85d9091c65c