diff options
Diffstat (limited to 'package/libXinerama')
-rw-r--r-- | package/libXinerama/patches/patch-src_Xinerama_c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/libXinerama/patches/patch-src_Xinerama_c b/package/libXinerama/patches/patch-src_Xinerama_c new file mode 100644 index 000000000..aff679c83 --- /dev/null +++ b/package/libXinerama/patches/patch-src_Xinerama_c @@ -0,0 +1,23 @@ +--- libXinerama-1.1.3.orig/src/Xinerama.c 2013-05-31 02:28:02.000000000 +0200 ++++ libXinerama-1.1.3/src/Xinerama.c 2015-12-31 09:00:56.434764883 +0100 +@@ -35,20 +35,6 @@ Equipment Corporation. + #include <X11/extensions/panoramiXproto.h> + #include <X11/extensions/Xinerama.h> + +-#ifndef HAVE__XEATDATAWORDS +-#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)) +- _XIOError(dpy); +-# endif +- _XEatData (dpy, n << 2); +-} +-#endif +- + static XExtensionInfo _panoramiX_ext_info_data; + static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data; + static const char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME; |