Commit 8fa33bb5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Patch libass on Win32 to avoid Using FcParseAndLoad

parent e725c70b
......@@ -2510,6 +2510,9 @@ libass-$(ASS_VERSION).tar.bz2:
libass:
$(GIT) clone $(ASS_GIT)
ifdef HAVE_WIN32
(cd $@; patch -p1 < ../Patches/libass-win32.patch)
endif
(cd $@; autoreconf -ivf)
.libass: libass
......
diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c
index 006be97..a4a680f 100644
--- a/libass/ass_fontconfig.c
+++ b/libass/ass_fontconfig.c
@@ -449,7 +449,7 @@ FCInstance *fontconfig_init(ASS_Library *library,
}
priv->config = FcConfigCreate();
- rc = FcConfigParseAndLoad(priv->config, (unsigned char *) config, FcTrue);
+ rc = 0;//FcConfigParseAndLoad(priv->config, (unsigned char *) config, FcTrue);
if (!rc) {
ass_msg(library, MSGL_WARN, "No usable fontconfig configuration "
"file found, using fallback.");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment