When there is a file to patch in WRKSRC for which both a patch in EXTRA_PATCHES and a patch in files/patch-* exists, only the latter gets applied.
'make patch' claims to patch both but somehow skips the former, no error is shown.
Files in WRKSRC for which either a patch in EXTRA_PATCHES or a patch in files/patch-* exists get patched correctly.
How-To-Repeat: git clone https://github.com/gliaskos/freebsd-chromium.git
make config -> deselect CLANG
cd `make -V WRKSRC`
diff -u base/sys_info_freebsd.cc.orig base/sys_info_freebsd.cc
Now files/patch-base__sys_info_freebsd.cc is applied, but the correspoding chunk from files/extra-patch-gcc is not.
Over to maintainer(s).
well we have no way to handle that a clever way imho 2 patches are modifying the same file then maintainer have to be extra careful