[PATCH:xfs] Require libXfont >= 1.4.5 to avoid prototype mismatch errors for MakeAtom

Alan Coopersmith alan.coopersmith at oracle.com
Fri Mar 2 10:19:41 PST 2012


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c2ab820..f9400d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,8 @@ AC_CHECK_FUNCS([daemon])
 
 # Checks for pkg-config packages
 #  - xproto >= 7.0.17 required for _X_NORETURN in <X11/Xfuncproto.h>
-PKG_CHECK_MODULES(XFS, xproto >= 7.0.17 xfont xtrans)
+#  - xfont >= 1.4.5 required for matching MakeAtom prototypes in fontmisc.h
+PKG_CHECK_MODULES(XFS, xproto >= 7.0.17 xfont >= 1.4.5 xtrans)
 
 # Transport selection macro from xtrans.m4
 XTRANS_CONNECTION_FLAGS
-- 
1.7.3.2



More information about the xorg-devel mailing list