[Fontconfig-bugs] [Bug 48573] New: platform without regex do not have also REG_XXX defines

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 11 16:09:53 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48573

             Bug #: 48573
           Summary: platform without regex do not have also REG_XXX
                    defines
    Classification: Unclassified
           Product: fontconfig
           Version: 2_1
          Platform: Other
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
        AssignedTo: fontconfig-bugs at lists.freedesktop.org
        ReportedBy: sherpya at gmail.com
         QAContact: freedesktop at behdad.org


Created attachment 59821
  --> https://bugs.freedesktop.org/attachment.cgi?id=59821
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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Fontconfig-bugs mailing list