aboutsummaryrefslogtreecommitdiffstats
path: root/community/xf86-video-ati/gcc-10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xf86-video-ati/gcc-10.patch')
-rw-r--r--community/xf86-video-ati/gcc-10.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/xf86-video-ati/gcc-10.patch b/community/xf86-video-ati/gcc-10.patch
new file mode 100644
index 0000000000..2c73f65aa0
--- /dev/null
+++ b/community/xf86-video-ati/gcc-10.patch
@@ -0,0 +1,16 @@
+Upstream: Should be
+Reason: Fixes compilation with gcc-10
+
+diff --git a/src/drmmode_display.h b/src/drmmode_display.h
+index 96eaef0..8cd8a0a 100644
+--- a/src/drmmode_display.h
++++ b/src/drmmode_display.h
+@@ -262,7 +262,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