[PATCH libXfont] Fix build with --disable-builtins
Mikhail Gusarov
dottedmag at dottedmag.net
Mon Jul 5 11:25:20 PDT 2010
---
src/util/miscutil.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/util/miscutil.c b/src/util/miscutil.c
index 1e76b4b..b587b3a 100644
--- a/src/util/miscutil.c
+++ b/src/util/miscutil.c
@@ -54,8 +54,12 @@ weak long serverGeneration = 1;
weak void
register_fpe_functions (void)
{
+#ifdef XFONT_BUILTINS
BuiltinRegisterFpeFunctions();
+#endif
+#ifdef XFONT_FONTFILE
FontFileRegisterFpeFunctions();
+#endif
#ifdef XFONT_FC
fs_register_fpe_functions();
#endif
--
1.7.1
More information about the xorg-devel
mailing list