Ticket #588: fc_suse_workaround.diff

File fc_suse_workaround.diff, 561 bytes (added by reimar, 20 years ago)

workaround for SuSE fontconfig 2.3.94 bug

  • libass/ass_fontconfig.c

     
    187187                                goto ErrorFontCache;
    188188                        }
    189189
    190                         rc = FcDirScan(fcs, fss, NULL, FcConfigGetBlanks(priv->config), (const FcChar8 *)dir, FcFalse);
     190                        rc = FcDirScanConfig(fcs, fss, NULL, FcConfigGetBlanks(priv->config), (const FcChar8 *)dir, FcFalse, priv->config);
    191191                        if (!rc) {
    192192                                mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirScan failed\n");
    193193                                goto ErrorFontCache;