diff options
author | marha <marha@users.sourceforge.net> | 2013-11-18 09:29:58 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-11-18 09:29:58 +0100 |
commit | 72ba71645132923bb8e0b93f7683aef8bc485aa2 (patch) | |
tree | baeaeff7e7ce5bf65f056625b435b8d55d4a04fa /libXext | |
parent | 4d64875593956234795d9947ac1d225e5b110f0f (diff) | |
parent | 7c20de6c7fb53ed404d4df0d975328318810ce01 (diff) | |
download | vcxsrv-72ba71645132923bb8e0b93f7683aef8bc485aa2.tar.gz vcxsrv-72ba71645132923bb8e0b93f7683aef8bc485aa2.tar.bz2 vcxsrv-72ba71645132923bb8e0b93f7683aef8bc485aa2.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
libXext mesa xkeyboard-config pixman 18 nov 2013
Conflicts:
libXext/src/eat.h
Diffstat (limited to 'libXext')
-rw-r--r-- | libXext/configure.ac | 8 | ||||
-rw-r--r-- | libXext/src/Makefile.am | 1 | ||||
-rw-r--r-- | libXext/src/XEVI.c | 1 | ||||
-rw-r--r-- | libXext/src/XMultibuf.c | 1 | ||||
-rw-r--r-- | libXext/src/XSecurity.c | 1 | ||||
-rw-r--r-- | libXext/src/XShape.c | 1 | ||||
-rw-r--r-- | libXext/src/XSync.c | 1 | ||||
-rw-r--r-- | libXext/src/Xcup.c | 1 | ||||
-rw-r--r-- | libXext/src/Xdbe.c | 1 | ||||
-rw-r--r-- | libXext/src/eat.h | 44 |
10 files changed, 1 insertions, 59 deletions
diff --git a/libXext/configure.ac b/libXext/configure.ac index 9a1e0c2c6..491aac086 100644 --- a/libXext/configure.ac +++ b/libXext/configure.ac @@ -36,13 +36,7 @@ fi AC_SUBST(XEXT_SOREV) # Obtain compiler/linker options for depedencies -PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.1.99]) - -# Check for _XEatDataWords function that may be patched into older Xlib releases -SAVE_LIBS="$LIBS" -LIBS="$XEXT_LIBS" -AC_CHECK_FUNCS([_XEatDataWords]) -LIBS="$SAVE_LIBS" +PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.6] [xextproto >= 7.1.99]) # Allow checking code with lint, sparse, etc. XORG_WITH_LINT diff --git a/libXext/src/Makefile.am b/libXext/src/Makefile.am index b8285470a..e236c3345 100644 --- a/libXext/src/Makefile.am +++ b/libXext/src/Makefile.am @@ -12,7 +12,6 @@ libXext_la_LDFLAGS = -version-number $(XEXT_SOREV) -no-undefined libXext_la_LIBADD = $(XEXT_LIBS) libXext_la_SOURCES = \ - eat.h \ DPMS.c \ MITMisc.c \ XAppgroup.c \ diff --git a/libXext/src/XEVI.c b/libXext/src/XEVI.c index 5a9558364..6d77fdf10 100644 --- a/libXext/src/XEVI.c +++ b/libXext/src/XEVI.c @@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <X11/extensions/extutil.h> #include <X11/Xutil.h> #include <limits.h> -#include "eat.h" static XExtensionInfo *xevi_info;/* needs to move to globals.c */ static const char *xevi_extension_name = EVINAME; diff --git a/libXext/src/XMultibuf.c b/libXext/src/XMultibuf.c index 43d56d3eb..75854aa68 100644 --- a/libXext/src/XMultibuf.c +++ b/libXext/src/XMultibuf.c @@ -34,7 +34,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/extensions/extutil.h> #include <X11/extensions/multibufproto.h> #include <X11/extensions/multibuf.h> -#include "eat.h" static XExtensionInfo _multibuf_info_data; static XExtensionInfo *multibuf_info = &_multibuf_info_data; diff --git a/libXext/src/XSecurity.c b/libXext/src/XSecurity.c index ab17755c8..73305a381 100644 --- a/libXext/src/XSecurity.c +++ b/libXext/src/XSecurity.c @@ -33,7 +33,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/extensions/extutil.h> #include <X11/extensions/securproto.h> #include <X11/extensions/security.h> -#include "eat.h" static XExtensionInfo _Security_info_data; static XExtensionInfo *Security_info = &_Security_info_data; diff --git a/libXext/src/XShape.c b/libXext/src/XShape.c index d02502004..15d754f44 100644 --- a/libXext/src/XShape.c +++ b/libXext/src/XShape.c @@ -36,7 +36,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/extensions/shape.h> #include <X11/extensions/shapeproto.h> #include <limits.h> -#include "eat.h" static XExtensionInfo _shape_info_data; static XExtensionInfo *shape_info = &_shape_info_data; diff --git a/libXext/src/XSync.c b/libXext/src/XSync.c index 6e2af79a5..3077db244 100644 --- a/libXext/src/XSync.c +++ b/libXext/src/XSync.c @@ -60,7 +60,6 @@ PERFORMANCE OF THIS SOFTWARE. #include <X11/extensions/sync.h> #include <X11/extensions/syncproto.h> #include <limits.h> -#include "eat.h" static XExtensionInfo _sync_info_data; static XExtensionInfo *sync_info = &_sync_info_data; diff --git a/libXext/src/Xcup.c b/libXext/src/Xcup.c index cdc64c2a3..fd6850ead 100644 --- a/libXext/src/Xcup.c +++ b/libXext/src/Xcup.c @@ -37,7 +37,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/extensions/Xext.h> #include <X11/extensions/extutil.h> #include <limits.h> -#include "eat.h" static XExtensionInfo _xcup_info_data; static XExtensionInfo *xcup_info = &_xcup_info_data; diff --git a/libXext/src/Xdbe.c b/libXext/src/Xdbe.c index 7dd6c5ad2..13ec347e5 100644 --- a/libXext/src/Xdbe.c +++ b/libXext/src/Xdbe.c @@ -40,7 +40,6 @@ #include <X11/extensions/Xdbe.h> #include <X11/extensions/dbeproto.h> #include <limits.h> -#include "eat.h" static XExtensionInfo _dbe_info_data; static XExtensionInfo *dbe_info = &_dbe_info_data; diff --git a/libXext/src/eat.h b/libXext/src/eat.h deleted file mode 100644 index 38d782949..000000000 --- a/libXext/src/eat.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#ifndef HAVE__XEATDATAWORDS -#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */ -#include <limits.h> - -#ifdef _MSC_VER -#define inline __inline -#endif - -static inline void _XEatDataWords(Display *dpy, unsigned long n) -{ -# ifndef LONG64 - if (n >= (ULONG_MAX >> 2)) - _XIOError(dpy); -# endif - _XEatData (dpy, n << 2); -} -#endif |