package/x11r7/xserver_xorg-server: fix gcc5+ build with version 1.14.7
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 5 Jun 2017 18:00:44 +0000 (20:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 6 Jun 2017 20:32:15 +0000 (22:32 +0200)
commit99058b25865ef901005d1c1b5c066bd0a816b2a8
tree77166e4db89f4d3a2fa9157e3f0750421ab840b2
parent87f43c34032c5a4efbc610bfdd279c9f275be9af
package/x11r7/xserver_xorg-server: fix gcc5+ build with version 1.14.7

Fixes

sdksyms.c:311:15: error: expected expression before »,« token
     (void *) &,                                                  /* ../../include/os.h:96 */

by backporting an upstream patch, sdksyms.c is generated by
hw/xfree86/sdksyms.sh which is broken when used with gcc5+.

Problem was found while testing
http://patchwork.ozlabs.org/patch/762102/

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14=y
BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/1.14.7/0001-sdksyms-gcc5.patch [new file with mode: 0644]