sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c924795ce73cea44a91c96be55512bd13442102c)
- From: Treeve Jelbert <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c924795ce73cea44a91c96be55512bd13442102c)
- Date: Fri, 26 Jun 2020 12:50:09 +0000
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
xorg-driver/xf86-video-amdgpu/HISTORY | 3 +++
xorg-driver/xf86-video-amdgpu/PRE_BUILD | 3 +++
xorg-driver/xf86-video-amdgpu/patches/gcc.patch | 23
+++++++++++++++++++++++
3 files changed, 29 insertions(+)
New commits:
commit c924795ce73cea44a91c96be55512bd13442102c
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
xf86-video-amdgpu - fix build with gcc-10
diff --git a/xorg-driver/xf86-video-amdgpu/HISTORY
b/xorg-driver/xf86-video-amdgpu/HISTORY
index 62df74b..9331fe7 100644
--- a/xorg-driver/xf86-video-amdgpu/HISTORY
+++ b/xorg-driver/xf86-video-amdgpu/HISTORY
@@ -1,3 +1,6 @@
+2020-06-26Treeve Jelbert <treeve AT sourcemage.org>
+ PRE-BUILD patches/*: added, fix build with gcc10
+
2019-10-11 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 19.1.0
diff --git a/xorg-driver/xf86-video-amdgpu/PRE_BUILD
b/xorg-driver/xf86-video-amdgpu/PRE_BUILD
new file mode 100755
index 0000000..922c0ab
--- /dev/null
+++ b/xorg-driver/xf86-video-amdgpu/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+apply_patch_dir patches
diff --git a/xorg-driver/xf86-video-amdgpu/patches/gcc.patch
b/xorg-driver/xf86-video-amdgpu/patches/gcc.patch
new file mode 100644
index 0000000..9062c9b
--- /dev/null
+++ b/xorg-driver/xf86-video-amdgpu/patches/gcc.patch
@@ -0,0 +1,23 @@
+commit edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d
+Author: Adam Jackson <ajax AT redhat.com>
+Date: Tue Feb 4 16:38:06 2020 -0500
+
+ Fix link failure with gcc 10
+
+ Without the 'extern' this looks like a definition not just a
+ declaration, in every file that includes the header. gcc 10 is stricter
+ about this kind of multiple definition.
+
+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
- [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c924795ce73cea44a91c96be55512bd13442102c), Treeve Jelbert, 06/26/2020
Archive powered by MHonArc 2.6.24.