drop support for ancient pre-7.1 xextproto

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-18 12:14:21 +01:00
parent 3409db4b61
commit 24dd7bf334
4 changed files with 1 additions and 25 deletions

View File

@@ -59,10 +59,7 @@ XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
# Obtain compiler/linker options for the driver dependencies
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.18 xproto fontsproto xf86dgaproto $REQUIRED_MODULES])
PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]),
HAVE_XEXTPROTO_71="no")
AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1])
# Checks for library functions
# We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet

View File

@@ -48,15 +48,7 @@
#define _XF86DGA_SERVER_
#include <X11/extensions/xf86dgaproto.h>
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
/***********************************************************************
* DGA stuff

View File

@@ -54,14 +54,7 @@
#define _XF86DGA_SERVER_
#include <X11/extensions/xf86dgaproto.h>
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
static const OptionInfoRec * VoodooAvailableOptions(int chipid, int busid);
static void VoodooIdentify(int flags);

View File

@@ -48,13 +48,7 @@
#include "voodoo.h"
#include <X11/extensions/xf86dgaproto.h>
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
#include "mipict.h"
#include "dixstruct.h"