summaryrefslogtreecommitdiff
path: root/package/libXfixes/patches/patch-src_Xfixesint_h
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/libXfixes/patches/patch-src_Xfixesint_h
parent9663d8c140c0f78fddcbaa6feb1d706aca7fd95f (diff)
fix some fallouts compiling openjdk7 for rpi2 on another buildserver
Diffstat (limited to 'package/libXfixes/patches/patch-src_Xfixesint_h')
-rw-r--r--package/libXfixes/patches/patch-src_Xfixesint_h21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libXfixes/patches/patch-src_Xfixesint_h b/package/libXfixes/patches/patch-src_Xfixesint_h
new file mode 100644
index 000000000..bb17cef2c
--- /dev/null
+++ b/package/libXfixes/patches/patch-src_Xfixesint_h
@@ -0,0 +1,21 @@
+--- libXfixes-5.0.1.orig/src/Xfixesint.h 2013-05-29 06:11:24.000000000 +0200
++++ libXfixes-5.0.1/src/Xfixesint.h 2015-12-31 00:01:21.448241629 +0100
+@@ -60,18 +60,4 @@ XFixesFindDisplay (Display *dpy);
+ #define XFixesSimpleCheckExtension(dpy,i) \
+ if (!XFixesHasExtension(i)) { return; }
+
+-#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
+-
+ #endif /* _XFIXESINT_H_ */