summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/ast_vgatool.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ae4d5d6..cb6b760 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ XORG_DRIVER_CHECK_EXT(XV, videoproto)
XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
# Obtain compiler/linker options for the driver dependencies
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES])
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES])
# Checks for libraries.
SAVE_CPPFLAGS="$CPPFLAGS"
diff --git a/src/ast_vgatool.h b/src/ast_vgatool.h
index 6d24263..f9b65ba 100644
--- a/src/ast_vgatool.h
+++ b/src/ast_vgatool.h
@@ -146,7 +146,7 @@
#define WriteAST1180SOC(addr, data) \
{ \
- ULONG temp; \
+ ULONG temp _X_UNUSED; \
*(ULONG *) (pAST->MMIOVirtualAddr + 0xF004) = (addr) & 0xFFFF0000; \
*(ULONG *) (pAST->MMIOVirtualAddr + 0xF000) = 0x1; \
*(ULONG *) (pAST->MMIOVirtualAddr + 0x10000 + ((addr) & 0x0000FFFF)) = (data); \