1
0

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:
Ana Guerrero 2024-01-10 20:51:05 +00:00 committed by Git OBS Bridge
commit 4ac071937a
3 changed files with 29 additions and 0 deletions

View 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

View File

@ -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>

View File

@ -246,6 +246,8 @@ Patch1960: u_sync-pci-ids-with-Mesa.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
Patch1218176: u_miCloseScreen_check_for_null_pScreen_dev_private.patch
%description
This package contains the X.Org Server.
@ -407,6 +409,8 @@ sh %{SOURCE92} --verify . %{SOURCE91}
%patch1217765 -p1
%patch1217766 -p1
%patch1218176 -p1
%build
# We have some -z now related errors during X default startup (boo#1197994):
# - when loading modesetting: gbm_bo_get_plane_count