While looking at #16838 I found at least two cases of sed patching in depends that now seems to be redundant. There's possibly a third case, but I haven't looked into that enough yet. Patching 0 -> kCGMouseButtonLeft should not be required, as kCGMouseButtonLeft has been used in the cocoa/qcocoacursor.mm source for a while. The include we were modifying in src/plugins/platforms/xcb/qxcbxsettings.cpp was removed in this commit.
Backport of core PR16879.