From c23fe2f641335d2907a1756287363aa3b9d908de Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 15 Jul 2011 20:32:40 +0200 Subject: [PATCH] Mesa: add patch which *maybe* should fix the reboot/shutdown issue Signed-off-by: Stephan Raue --- .../Mesa/patches/Mesa-7.11-443ff60-bug_39219.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/graphics/Mesa/patches/Mesa-7.11-443ff60-bug_39219.patch diff --git a/packages/graphics/Mesa/patches/Mesa-7.11-443ff60-bug_39219.patch b/packages/graphics/Mesa/patches/Mesa-7.11-443ff60-bug_39219.patch new file mode 100644 index 0000000000..7a8d2b7153 --- /dev/null +++ b/packages/graphics/Mesa/patches/Mesa-7.11-443ff60-bug_39219.patch @@ -0,0 +1,13 @@ +diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c +index bac0c9e..e7dba5a 100644 +--- a/src/glx/dri_common.c ++++ b/src/glx/dri_common.c +@@ -388,7 +388,7 @@ driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable) + _X_HIDDEN void + driReleaseDrawables(struct glx_context *gc) + { +- struct glx_display *const priv = __glXInitialize(gc->psc->dpy); ++ const struct glx_display *priv = gc->psc->display; + __GLXDRIdrawable *pdraw; + + if (priv == NULL)