aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff')
-rw-r--r--contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff b/contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff
new file mode 100644
index 00000000..3d4866e9
--- /dev/null
+++ b/contrib/packages/rpm/sle11/SOURCES/vidmode-sig11.diff
@@ -0,0 +1,13 @@
+Index: hw/xfree86/common/xf86VidMode.c
+================================================================================
+--- hw/xfree86/common/xf86VidMode.c
++++ hw/xfree86/common/xf86VidMode.c
+@@ -220,6 +220,8 @@
+
+ pScrn = xf86Screens[scrnIndex];
+ pVidMode = VMPTR(pScrn->pScreen);
++ if (!pScrn->modes)
++ return FALSE;
+ pVidMode->First = pScrn->modes;
+ pVidMode->Next = pVidMode->First->next;
+