forked from pool/xorg-x11-server
Accepting request 1137765 from X11:XOrg
- u_miCloseScreen_check_for_null_pScreen_dev_private.patch * miCloseScreen check for null pScreen dev private (bsc#1218176); another regression introduced by U_bsc1216261-0002-fb-properly-wrap-unwrap-CloseScreen.patch OBS-URL: https://build.opensuse.org/request/show/1137765 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xorg-x11-server?expand=0&rev=423
This commit is contained in:
commit
4ac071937a
17
u_miCloseScreen_check_for_null_pScreen_dev_private.patch
Normal file
17
u_miCloseScreen_check_for_null_pScreen_dev_private.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
mi/miscrinit.c | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
Index: xorg-server-21.1.4/mi/miscrinit.c
|
||||||
|
===================================================================
|
||||||
|
--- xorg-server-21.1.4.orig/mi/miscrinit.c
|
||||||
|
+++ xorg-server-21.1.4/mi/miscrinit.c
|
||||||
|
@@ -121,7 +121,9 @@ miModifyPixmapHeader(PixmapPtr pPixmap,
|
||||||
|
static Bool
|
||||||
|
miCloseScreen(ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
- return ((*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate));
|
||||||
|
+ if (pScreen->devPrivate)
|
||||||
|
+ return ((*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate));
|
||||||
|
+ return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static Bool
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 6 20:01:20 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- u_miCloseScreen_check_for_null_pScreen_dev_private.patch
|
||||||
|
* miCloseScreen check for null pScreen dev private (bsc#1218176);
|
||||||
|
another regression introduced by
|
||||||
|
U_bsc1216261-0002-fb-properly-wrap-unwrap-CloseScreen.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 6 15:12:29 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
Sat Jan 6 15:12:29 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
@ -246,6 +246,8 @@ Patch1960: u_sync-pci-ids-with-Mesa.patch
|
|||||||
Patch1217765: U_bsc1217765-Xi-allocate-enough-XkbActions-for-our-buttons.patch
|
Patch1217765: U_bsc1217765-Xi-allocate-enough-XkbActions-for-our-buttons.patch
|
||||||
Patch1217766: U_bsc1217766-randr-avoid-integer-truncation-in-length-check-of-Pr.patch
|
Patch1217766: U_bsc1217766-randr-avoid-integer-truncation-in-length-check-of-Pr.patch
|
||||||
|
|
||||||
|
Patch1218176: u_miCloseScreen_check_for_null_pScreen_dev_private.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the X.Org Server.
|
This package contains the X.Org Server.
|
||||||
|
|
||||||
@ -407,6 +409,8 @@ sh %{SOURCE92} --verify . %{SOURCE91}
|
|||||||
%patch1217765 -p1
|
%patch1217765 -p1
|
||||||
%patch1217766 -p1
|
%patch1217766 -p1
|
||||||
|
|
||||||
|
%patch1218176 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# We have some -z now related errors during X default startup (boo#1197994):
|
# We have some -z now related errors during X default startup (boo#1197994):
|
||||||
# - when loading modesetting: gbm_bo_get_plane_count
|
# - when loading modesetting: gbm_bo_get_plane_count
|
||||||
|
Loading…
Reference in New Issue
Block a user