forked from pool/xorg-x11-server
Stefan Dirsch
ebdc01ee77
Udpate to Xorg 1.12.1... add 'automatic' ABI provides, which are verified during build to be true to ensure we can't ever publish a package which does not contain correct provides for the ABI OBS-URL: https://build.opensuse.org/request/show/114753 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=383
14 lines
433 B
Diff
14 lines
433 B
Diff
Index: hw/xfree86/common/xf86VidMode.c
|
|
===================================================================
|
|
--- hw/xfree86/common/xf86VidMode.c.orig
|
|
+++ hw/xfree86/common/xf86VidMode.c
|
|
@@ -224,6 +224,8 @@ VidModeGetFirstModeline(int scrnIndex, p
|
|
return FALSE;
|
|
|
|
pVidMode = VMPTR(pScrn->pScreen);
|
|
+ if (!pScrn->modes)
|
|
+ return FALSE;
|
|
pVidMode->First = pScrn->modes;
|
|
pVidMode->Next = pVidMode->First->next;
|
|
|