2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 22:12:27 +00:00

xorg-server: 1.20.9

This commit is contained in:
Dylan Araps 2020-08-30 10:23:54 +03:00
parent 4fe8d99cd1
commit e39402d644
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 35 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh -e
patch -p1 < rootless_modesetting.patch
patch -p1 < fix-crash.patch
./configure \
--prefix=/usr \

View File

@ -1,2 +1,3 @@
e219f2e0dfe455467939149d7cd2ee53b79b512cc1d2094ae4f5c9ed9ccd3571
c98ad9376f20ab25463ef74bb19f2dbe874a19918b27b430c8e632d272379129
e5a501146cf71407aca777f569a9e65c32256a5f3642dbe9852b4bd1a9ae8dbe

View File

@ -0,0 +1,31 @@
From e50c85f4ebf559a3bac4817b41074c43d4691779 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Fri, 26 Oct 2018 17:47:30 -0700
Subject: [PATCH] Fix segfault on probing a non-PCI platform device on a system
with PCI.
Some Broadcom set-top-box boards have PCI busses, but the GPU is still
probed through DT. We would dereference a null busid here in that
case.
Signed-off-by: Eric Anholt <eric@anholt.net>
---
hw/xfree86/common/xf86platformBus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c
index cef47da03d..dadbac6c8f 100644
--- a/hw/xfree86/common/xf86platformBus.c
+++ b/hw/xfree86/common/xf86platformBus.c
@@ -289,7 +289,7 @@ xf86platformProbe(void)
for (i = 0; i < xf86_num_platform_devices; i++) {
char *busid = xf86_platform_odev_attributes(i)->busid;
- if (pci && (strncmp(busid, "pci:", 4) == 0)) {
+ if (pci && busid && (strncmp(busid, "pci:", 4) == 0)) {
platform_find_pci_info(&xf86_platform_devices[i], busid);
}
--
GitLab

View File

@ -1,2 +1,3 @@
https://x.org/releases/individual/xserver/xorg-server-1.20.9.tar.bz2
patches/rootless_modesetting.patch
patches/fix-crash.patch

View File

@ -1 +1 @@
1.20.9 1
1.20.9 2