[crux-commits] ports/xorg (3.6): xorg-xf86-video-amdgpu: fix build with gcc 10.x

crux at crux.nu crux at crux.nu
Sat Aug 1 17:28:30 UTC 2020


commit 05f07e9764979fd394b379d746ed408b545942dc
Author: Juergen Daubert <jue at jue.li>
Date:   Sat Aug 1 17:26:39 2020 +0000

    xorg-xf86-video-amdgpu: fix build with gcc 10.x

diff --git a/xorg-xf86-video-amdgpu/.signature b/xorg-xf86-video-amdgpu/.signature
index b8c4c7b0..e3803ca4 100644
--- a/xorg-xf86-video-amdgpu/.signature
+++ b/xorg-xf86-video-amdgpu/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/xorg.pub
-RWTSGWF5Q7TndL6aHxip0p7BgaARAtJSs1ysa01r1Cfgu7aDaUOn0Rge+K9kWQmmvqHzX0uJs4PKCZk0Vdukkcf/+zh+QeLggQQ=
-SHA256 (Pkgfile) = 03ede9aee9e4213bac8507baf89e23b79dc09ea7b72a9ba2a574bb9a06be7699
+RWTSGWF5Q7TndC01d4+J3ZYQlFuYctZJM+QBXUrUX1RyGHcR6ZQ5qtYpA0yZkSbvNo5yzTwJFk1DUso1hH0FJMNXhGiEdoMtaQM=
+SHA256 (Pkgfile) = 6132c35ae11a2ca03ffe17efe10d1524e86181ffa90222c1a01a5386c6b33954
 SHA256 (.footprint) = e9feb77a0318e21499ab39b7415c1be48a9bdc2d3b84fcc8bbbf3dfaf424bbed
 SHA256 (xf86-video-amdgpu-19.1.0.tar.bz2) = 4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
diff --git a/xorg-xf86-video-amdgpu/Pkgfile b/xorg-xf86-video-amdgpu/Pkgfile
index 4e1ac07b..31f4d18e 100644
--- a/xorg-xf86-video-amdgpu/Pkgfile
+++ b/xorg-xf86-video-amdgpu/Pkgfile
@@ -5,12 +5,12 @@
 
 name=xorg-xf86-video-amdgpu
 version=19.1.0
-release=1
+release=2
 source=(https://www.x.org/archive/individual/driver/xf86-video-amdgpu-$version.tar.bz2)
 
 build() {
 	cd xf86-video-amdgpu-$version
 	./configure --prefix=/usr
-	make
+	make CFLAGS+=" -fcommon"
 	make DESTDIR=$PKG install
 }


More information about the crux-commits mailing list