[PATCH libX11] Replace obsolete header reference for xf86bigfontproto
Jeff Smith
whydoubt at yahoo.com
Fri Mar 19 22:41:41 PDT 2010
Signed-off-by: Jeff Smith <whydoubt at yahoo.com>
---
configure.ac | 2 +-
src/Font.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f359822..79542a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -333,7 +333,7 @@ AC_ARG_ENABLE(xf86bigfont,
[Disable XF86BigFont extension support]),
[XF86BIGFONT=$enableval],[XF86BIGFONT="yes"])
if test "x$XF86BIGFONT" = "xyes"; then
- PKG_CHECK_MODULES(BIGFONT, xf86bigfontproto,
+ PKG_CHECK_MODULES(BIGFONT, [xf86bigfontproto >= 1.2.0],
AC_DEFINE(XF86BIGFONT,1,[Enable XF86BIGFONT extension]),XF86BIGFONT="no")
AC_SUBST(BIGFONT_CFLAGS)
AC_SUBST(BIGFONT_LIBS)
diff --git a/src/Font.c b/src/Font.c
index b664b8d..5479c83 100644
--- a/src/Font.c
+++ b/src/Font.c
@@ -45,7 +45,7 @@ authorization from the X Consortium and the XFree86 Project.
#include <stdio.h>
#include <stdlib.h>
-#include <X11/extensions/xf86bigfstr.h>
+#include <X11/extensions/xf86bigfproto.h>
#endif
#include "Xlcint.h"
--
1.6.0.6
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the xorg-devel
mailing list