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

This commit is contained in:
Juergen Daubert 2020-08-01 17:26:39 +00:00
parent 6aecebdc06
commit 05f07e9764
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
}