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/libXfixes/patches/patch-src_Xfixesint_h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/libXfixes/patches/patch-src_Xfixesint_h (limited to 'package/libXfixes/patches/patch-src_Xfixesint_h') 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 /* for LONG64 on 64-bit platforms */ +-#include +- +-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_ */ -- cgit v1.2.3