Bug 48573

Summary: platform without regex do not have also REG_XXX defines
Product: fontconfig Reporter: Gianluigi Tiesi <sherpya>
Component: libraryAssignee: Akira TAGOH <akira>
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: fontconfig-bugs, sherpya
Version: 2_1   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed fix

Description Gianluigi Tiesi 2012-04-11 16:09:53 UTC
Created attachment 59821 [details]
proposed fix

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
Comment 1 Akira TAGOH 2012-04-11 19:02:41 UTC
Doh. my bad. thanks for catching this up. modified a bit and fixed in ac6271db.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.