aboutsummaryrefslogblamecommitdiffstats
path: root/community/xf86-video-amdgpu/gcc-10.patch
blob: 7e546b672c8465fe53ae023b057bd79d8663d71e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                     
Upstream: Should be
Reason: Fixes compilation with gcc-10

diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 803ac3c..9c0f25a 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -289,7 +289,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type,
 			 uint64_t *ust, uint32_t *result_seq);
 
 
-miPointerSpriteFuncRec drmmode_sprite_funcs;
+extern miPointerSpriteFuncRec drmmode_sprite_funcs;
 
 
 #endif