From 318ae5dd14dd8d6d773ce4d0f7baee8d9285bd38 Mon Sep 17 00:00:00 2001 From: Jonathon Fernyhough Date: Wed, 30 Sep 2020 17:01:53 +0100 Subject: [PATCH] Add patch to fix 'xpresent broken on Wani [Radeon R5/R6/R7 Graphics] (rev c9)' --- trunk/PKGBUILD | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index c49334a..bc7e738 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -11,11 +11,21 @@ depends=('systemd-libs' 'mesa') makedepends=('xorg-server-devel' 'systemd' 'X-ABI-VIDEODRV_VERSION=24.0') conflicts=('xorg-server<1.20.0' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25') groups=('xorg-drivers') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}) +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig} + https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commit/0732f81a2c67354ddfa7a495bee6b0997c6ef244.patch) sha512sums=('ccdaa2378492da1a2f3d18fedacd1318c4708da534a8a959276a82730d5420619d83ad1ec8d7835c55655fe56123cd9bffb44e6223c5a97033c01f598af4a173' - 'SKIP') + 'SKIP' + 'd377a37ab848ff72e3b35f1b95f4af134229e84c0538922f121882a5443c44514e55578ca81f9f8cfbc562b130e5c8310e7cea2e5187978025dfef75021c21f9') validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer +prepare() { + cd ${pkgname}-${pkgver} + + # xpresent broken on Wani [Radeon R5/R6/R7 Graphics] (rev c9) + # https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/10 + patch -Np1 -i ../0732f81a2c67354ddfa7a495bee6b0997c6ef244.patch +} + build() { cd ${pkgname}-${pkgver} -- GitLab