1
0

- added u_init_framebuffer_base.patch: initialize buffer.base to fix

Xorg segfault in virtualbox guest (bnc#799480)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=431
This commit is contained in:
Stefan Dirsch 2013-02-20 13:47:22 +00:00 committed by Git OBS Bridge
parent 0200c01b7a
commit 12d6c7b942
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,21 @@
Index: xorg-server-1.13.2/glx/glxdri.c
===================================================================
--- xorg-server-1.13.2/glx/glxdri.c
+++ xorg-server-1.13.2/glx/glxdri.c
@@ -971,13 +971,15 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
size_t buffer_size;
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
+ framebuffer.base = NULL;
+
if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||
!DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) {
LogMessage(X_INFO,
"AIGLX: Screen %d is not DRI capable\n", pScreen->myNum);
return NULL;
}
-
+
screen = calloc(1, sizeof *screen);
if (screen == NULL)
return NULL;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 20 13:36:40 UTC 2013 - sndirsch@suse.com
- added u_init_framebuffer_base.patch: initialize buffer.base to fix
Xorg segfault in virtualbox guest (bnc#799480)
-------------------------------------------------------------------
Thu Jan 31 18:09:30 UTC 2013 - tobias.johannes.klausmann@mni.thm.de

View File

@ -177,6 +177,7 @@ Patch220: N_Use-external-tool-for-creating-backtraces-on-crashes.patch
Patch222: N_sync-fix.patch
Patch225: u_Do-not-use-intel-driver-on-Poulsbo-Oaktrail-Medfield.patch
Patch226: u_vgaHW-no-legacy.patch
Patch227: u_init_framebuffer_base.patch
%description
This package contains the X.Org Server.
@ -295,6 +296,7 @@ cp %{SOURCE96} .
#%patch222 -p1
%patch225 -p1
%patch226 -p0
%patch227 -p1
%build
autoreconf -fi