summaryrefslogtreecommitdiff
path: root/package/libXtst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-31 14:07:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-31 14:07:20 +0100
commit18ff7b7ff82290dca6f1dd943157fcadb00fb321 (patch)
tree7d5bfb2080affdad719f6b5e6af79fbde0d845a1 /package/libXtst
parent9663d8c140c0f78fddcbaa6feb1d706aca7fd95f (diff)
fix some fallouts compiling openjdk7 for rpi2 on another buildserver
Diffstat (limited to 'package/libXtst')
-rw-r--r--package/libXtst/patches/patch-src_XRecord_c20
1 files changed, 20 insertions, 0 deletions
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 <X11/extensions/record.h>
+ #include <limits.h>
+
+-#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;