Created attachment 59821 [details]
while building on mingw, I've noticed the fcstr.c does not compile because even if _FcStrRegexCmp has ifdef the calls are using REG_XXX defines,
I've made a patch that defines _FcStrRegexCmp as a macro when regex is not found so it will eat the arguments
Doh. my bad. thanks for catching this up. modified a bit and fixed in ac6271db.