]> git.pld-linux.org Git - packages/xorg-driver-video-openchrome.git/blob - gcc10.patch
- fix building with gcc 10+
[packages/xorg-driver-video-openchrome.git] / gcc10.patch
1 --- xf86-video-openchrome-0.6.0/src/via_driver.h~       2017-02-26 07:28:58.000000000 +0100
2 +++ xf86-video-openchrome-0.6.0/src/via_driver.h        2021-11-03 17:41:06.129560526 +0100
3 @@ -394,8 +394,8 @@
4  
5  
6  /* In via_display.c. */
7 -const xf86CrtcFuncsRec iga1_crtc_funcs;
8 -const xf86CrtcFuncsRec iga2_crtc_funcs;
9 +extern const xf86CrtcFuncsRec iga1_crtc_funcs;
10 +extern const xf86CrtcFuncsRec iga2_crtc_funcs;
11  
12  /* In via_exa.c. */
13  Bool viaInitExa(ScreenPtr pScreen);
14 --- xf86-video-openchrome-0.6.0/src/via_vt1632.h~       2017-01-06 04:33:01.000000000 +0100
15 +++ xf86-video-openchrome-0.6.0/src/via_vt1632.h        2021-11-03 17:51:51.857543491 +0100
16 @@ -44,7 +44,7 @@
17  } viaVT1632Rec, *viaVT1632RecPtr;
18  
19  
20 -const xf86OutputFuncsRec via_vt1632_funcs;
21 +extern const xf86OutputFuncsRec via_vt1632_funcs;
22  
23  Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
24  
25 --- xf86-video-openchrome-0.6.0/src/via_sii164.h~       2017-02-27 00:53:37.000000000 +0100
26 +++ xf86-video-openchrome-0.6.0/src/via_sii164.h        2021-11-03 17:52:51.717208389 +0100
27 @@ -47,7 +47,7 @@
28  } viaSiI164Rec, *viaSiI164RecPtr;
29  
30  
31 -const xf86OutputFuncsRec via_sii164_funcs;
32 +extern const xf86OutputFuncsRec via_sii164_funcs;
33  
34  Bool viaSiI164Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
35  
This page took 0.054271 seconds and 3 git commands to generate.