From 18ff7b7ff82290dca6f1dd943157fcadb00fb321 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 31 Dec 2015 14:07:14 +0100 Subject: fix some fallouts compiling openjdk7 for rpi2 on another buildserver --- package/libXtst/patches/patch-src_XRecord_c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/libXtst/patches/patch-src_XRecord_c (limited to 'package/libXtst') diff --git a/package/libXtst/patches/patch-src_XRecord_c b/package/libXtst/patches/patch-src_XRecord_c new file mode 100644 index 000000000..865673b03 --- /dev/null +++ b/package/libXtst/patches/patch-src_XRecord_c @@ -0,0 +1,20 @@ +--- libXtst-1.2.2.orig/src/XRecord.c 2013-05-31 04:09:49.000000000 +0200 ++++ libXtst-1.2.2/src/XRecord.c 2015-12-31 09:10:38.348187290 +0100 +@@ -61,17 +61,6 @@ from The Open Group. + #include + #include + +-#ifndef HAVE__XEATDATAWORDS +-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 _xrecord_info_data; + static XExtensionInfo *xrecord_info = &_xrecord_info_data; + static const char *xrecord_extension_name = RECORD_NAME; -- cgit v1.2.3