From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 6 Jun 2017 22:33:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xserver_xorg-server: fix gcc5+ build with version 1.14.7 In-Reply-To: <20170605180044.22459-1-bernd.kuhls@t-online.de> References: <20170605180044.22459-1-bernd.kuhls@t-online.de> Message-ID: <20170606223302.17ec8a66@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Mon, 5 Jun 2017 20:00:44 +0200, Bernd Kuhls wrote: > 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 > --- > .../1.14.7/0001-sdksyms-gcc5.patch | 50 ++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0001-sdksyms-gcc5.patch Applied to master, thanks. Peter: this qualifies for the LTS branch I guess. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com