mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 23:12:28 +00:00
xorg-server: 1.20.9
This commit is contained in:
parent
4fe8d99cd1
commit
e39402d644
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < rootless_modesetting.patch
|
||||
patch -p1 < fix-crash.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
e219f2e0dfe455467939149d7cd2ee53b79b512cc1d2094ae4f5c9ed9ccd3571
|
||||
c98ad9376f20ab25463ef74bb19f2dbe874a19918b27b430c8e632d272379129
|
||||
e5a501146cf71407aca777f569a9e65c32256a5f3642dbe9852b4bd1a9ae8dbe
|
||||
|
|
31
xorg/xorg-server/patches/fix-crash.patch
Normal file
31
xorg/xorg-server/patches/fix-crash.patch
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.20.9 1
|
||||
1.20.9 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user