Is there a way to add patch files with a Github repo?
As for instance, in the following case:
<meson id="wayland" mesonargs="-Ddocumentation=false">
<branch tag="04654ba7b57ccbf583db899a327f8f7000f90546" repo="github" module="XQuartz/wayland">
<patch file="0001-Darwin-fixes-from-owl-compositor.patch"
strip="1" />
<patch file="0002-wayland-os.c-LOCAL_PEERPID-may-not-be-defined.patch"
strip="1" />
<patch file="0003-os-wrappers-test-F_DUPFD_CLOEXEC-may-not-be-defined.patch"
strip="1" />
</branch>
<dependencies>
<dep package="libepoll-shim" />
</dependencies>
</meson>
The patches are not appllied before the configuring phase:
*** Checking out wayland *** [2/2]
git clone https://github.com/XQuartz/wayland
Cloning into 'wayland'...
...
*** Configuring wayland *** [2/2]
...
How to get them applied?