[Buildroot] [PATCH 1/1] package/x11r7/xserver_xorg-server: fix gcc5+ build with version 1.14.7

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 6 20:33:02 UTC 2017


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 <bernd.kuhls at t-online.de>
> ---
>  .../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



More information about the buildroot mailing list