package/x11r7/xlib_libXfixes: fix compile error by backporting upstream commit
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 25 Apr 2016 22:22:14 +0000 (00:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 27 Apr 2016 11:34:36 +0000 (13:34 +0200)
commit0a9a2ae855d5c2f099f8969bd5bde680e56e6def
treec8d622a47e5c62d9a55a15e326bea6a0b0cdbcc1
parent70566eb231383d0f443db83d1c121fdddbef6b4b
package/x11r7/xlib_libXfixes: fix compile error by backporting upstream commit

Fixes an error not yet caught by autobuilders:

In file included from SaveSet.c:27:0:
Xfixesint.h:67:20: error: static declaration of '_XEatDataWords' follows non-static declaration
 static inline void _XEatDataWords(Display *dpy, unsigned long n)
                    ^

To reproduce use this defconfig:

BR2_powerpc64le=y
BR2_powerpc_power8=y
BR2_OPTIMIZE_3=y
BR2_GLIBC_VERSION_2_23=y
BR2_BINUTILS_VERSION_2_26_X=y
BR2_GCC_VERSION_5_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XLIB_LIBXFIXES=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xlib_libXfixes/0001-remove-fallback-for-xeatdatawords.patch [new file with mode: 0644]
package/x11r7/xlib_libXfixes/xlib_libXfixes.mk