Commit 288f3362 authored by Michael Joost's avatar Michael Joost Committed by Peter Hutterer

Remove fallback for _XEatDataWords, require libX11 1.6 for it

_XEatDataWords was orignally introduced with the May 2013 security
patches, and in order to ease the process of delivering those,
fallback versions of _XEatDataWords were included in the X extension
library patches so they could be applied to older versions that didn't
have libX11 1.6 yet.   Now that we're past that hurdle, we can drop
the fallbacks and just require libX11 1.6 for building new versions
of the extension libraries.
Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent c4b261d2
......@@ -27,16 +27,10 @@ XORG_WITH_ASCIIDOC(8.4.5)
# Obtain compiler/linker options for dependencies
PKG_CHECK_MODULES(XI, [xproto >= 7.0.13] [x11 >=] [xextproto >= 7.0.3] [xext >=] [inputproto >=])
PKG_CHECK_MODULES(XI, [xproto >= 7.0.13] [x11 >= 1.6] [xextproto >= 7.0.3] [xext >=] [inputproto >=])
# CFLAGS only for PointerBarrier typedef
# Check for _XEatDataWords function that may be patched into older Xlib releases
# Check for xmlto and asciidoc for man page conversion
# (only needed by people building tarballs)
if test "$have_xmlto" = yes && test "$have_asciidoc" = yes; then
......@@ -83,18 +83,5 @@ next_block(void **ptr, int size) {
return ret;
#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */
#include <limits.h>
static inline void _XEatDataWords(Display *dpy, unsigned long n)
# ifndef LONG64
if (n >= (ULONG_MAX >> 2))
# endif
_XEatData (dpy, n << 2);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment