mirror of
https://codeberg.org/kiss-community/repo
synced 2025-02-24 23:26:29 -07:00
xf86-video-ati: Fix rootless xorg
This commit is contained in:
parent
b2a5d527f7
commit
0cbdf327f5
@ -2,6 +2,8 @@
|
||||
|
||||
export LDFLAGS="-Wl,-z,lazy"
|
||||
|
||||
patch -p1 < rootless-ati.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
c05c6e0c396a0148113f1836cfab7f2e43f784c9b7041f11e9cab40a4bc0c90f xf86-video-ati-19.1.0.tar.gz
|
||||
ff007862ac398c5c67a148f2706fec596b25808cd76026627753f82d4873d546 rootless-ati.patch
|
||||
|
@ -1,4 +1,3 @@
|
||||
eudev
|
||||
expat
|
||||
libdrm
|
||||
libpciaccess
|
||||
|
15
xorg/xf86-video-ati/patches/rootless-ati.patch
Normal file
15
xorg/xf86-video-ati/patches/rootless-ati.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
|
||||
index b3db7c4..e85aee5 100644
|
||||
--- a/src/radeon_kms.c
|
||||
+++ b/src/radeon_kms.c
|
||||
@@ -2168,6 +2168,10 @@ static Bool radeon_set_drm_master(ScrnInfoPtr pScrn)
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
+ err = drmIsMaster(pRADEONEnt->fd);
|
||||
+ if (err)
|
||||
+ return TRUE;
|
||||
+
|
||||
err = drmSetMaster(pRADEONEnt->fd);
|
||||
if (err)
|
||||
ErrorF("Unable to retrieve master\n");
|
@ -1 +1,2 @@
|
||||
https://x.org/releases/individual/driver/xf86-video-ati-19.1.0.tar.gz
|
||||
patches/rootless-ati.patch
|
||||
|
@ -1 +1 @@
|
||||
19.1.0 1
|
||||
19.1.0 2
|
||||
|
Loading…
Reference in New Issue
Block a user