- 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:
parent
0200c01b7a
commit
12d6c7b942
21
u_init_framebuffer_base.patch
Normal file
21
u_init_framebuffer_base.patch
Normal 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;
|
@ -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
|
Thu Jan 31 18:09:30 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ Patch220: N_Use-external-tool-for-creating-backtraces-on-crashes.patch
|
|||||||
Patch222: N_sync-fix.patch
|
Patch222: N_sync-fix.patch
|
||||||
Patch225: u_Do-not-use-intel-driver-on-Poulsbo-Oaktrail-Medfield.patch
|
Patch225: u_Do-not-use-intel-driver-on-Poulsbo-Oaktrail-Medfield.patch
|
||||||
Patch226: u_vgaHW-no-legacy.patch
|
Patch226: u_vgaHW-no-legacy.patch
|
||||||
|
Patch227: u_init_framebuffer_base.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the X.Org Server.
|
This package contains the X.Org Server.
|
||||||
@ -295,6 +296,7 @@ cp %{SOURCE96} .
|
|||||||
#%patch222 -p1
|
#%patch222 -p1
|
||||||
%patch225 -p1
|
%patch225 -p1
|
||||||
%patch226 -p0
|
%patch226 -p0
|
||||||
|
%patch227 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user