Julien Cristau pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-openchrome
Commits: 10e9d51b by Kevin Brace at 2020-09-18T11:34:51+02:00 Fix for GCC 10 activating stricter check for extern variables / structs GCC 10 now activates -fno-common option by default. This results in link time errors. Since GCC 10 is still not officially released, this link time behavior was reproduced on older GCC releases by adding -fno-common option manually to the generated code compilation script. Suggested-by: Xavier Bachelot <[email protected]> Signed-off-by: Kevin Brace <[email protected]> (cherry picked from commit edb46574d4686c59e80569ba236d537097dcdd0e) - - - - - 093c081f by Julien Cristau at 2020-09-18T11:39:00+02:00 Fix build with GCC 10 (closes: #958000). Thanks, Matthias Klose! - - - - - 4 changed files: - debian/changelog - src/via_driver.h - src/via_sii164.h - src/via_vt1632.h Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +xserver-xorg-video-openchrome (1:0.6.0-4) unstable; urgency=medium + + * Team upload. + * Fix build with GCC 10 (closes: #958000). Thanks, Matthias Klose! + + -- Julien Cristau <[email protected]> Fri, 18 Sep 2020 11:38:49 +0200 + xserver-xorg-video-openchrome (1:0.6.0-3) unstable; urgency=medium * Team upload. ===================================== src/via_driver.h ===================================== @@ -394,8 +394,8 @@ typedef struct /* In via_display.c. */ -const xf86CrtcFuncsRec iga1_crtc_funcs; -const xf86CrtcFuncsRec iga2_crtc_funcs; +extern const xf86CrtcFuncsRec iga1_crtc_funcs; +extern const xf86CrtcFuncsRec iga2_crtc_funcs; /* In via_exa.c. */ Bool viaInitExa(ScreenPtr pScreen); ===================================== src/via_sii164.h ===================================== @@ -47,7 +47,7 @@ typedef struct _viaSiI164 { } viaSiI164Rec, *viaSiI164RecPtr; -const xf86OutputFuncsRec via_sii164_funcs; +extern const xf86OutputFuncsRec via_sii164_funcs; Bool viaSiI164Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus); ===================================== src/via_vt1632.h ===================================== @@ -44,7 +44,7 @@ typedef struct _viaVT1632Rec { } viaVT1632Rec, *viaVT1632RecPtr; -const xf86OutputFuncsRec via_vt1632_funcs; +extern const xf86OutputFuncsRec via_vt1632_funcs; Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus); View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-openchrome/-/compare/6abd263910d54b3ebf2aafb8e092e88533b06060...093c081f814626fe004b2d4a7edc0326e133218d -- View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-openchrome/-/compare/6abd263910d54b3ebf2aafb8e092e88533b06060...093c081f814626fe004b2d4a7edc0326e133218d You're receiving this email because of your account on salsa.debian.org.

