summaryrefslogtreecommitdiff
path: root/package/libXinerama
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/libXinerama
parent9663d8c140c0f78fddcbaa6feb1d706aca7fd95f (diff)
fix some fallouts compiling openjdk7 for rpi2 on another buildserver
Diffstat (limited to 'package/libXinerama')
-rw-r--r--package/libXinerama/patches/patch-src_Xinerama_c23
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;