summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/xorg-driver/xf86-video-glamo/0001-glamo-output-initialize-mode-name-to-NULL.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-video-glamo/0001-glamo-output-initialize-mode-name-to-NULL.patch b/recipes/xorg-driver/xf86-video-glamo/0001-glamo-output-initialize-mode-name-to-NULL.patch
new file mode 100644
index 0000000000..9595c60d24
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-glamo/0001-glamo-output-initialize-mode-name-to-NULL.patch
@@ -0,0 +1,24 @@
+From 8fbaa322761429ed26a0f048f14590f120a6b440 Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Tue, 29 Jun 2010 14:02:15 +0200
+Subject: [PATCH] glamo-output: initialize mode->name to NULL
+
+---
+ src/glamo-output.c | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/glamo-output.c b/src/glamo-output.c
+index 60ea902..ca71c59 100644
+--- a/src/glamo-output.c
++++ b/src/glamo-output.c
+@@ -171,6 +174,7 @@ GlamoOutputInit(ScrnInfoPtr pScrn) {
+
+ mode->next = NULL;
+ mode->prev = NULL;
++ mode->name = NULL;
+
+ ConvertModeFbToXfree(&pGlamo->fb_var, mode, NULL);
+ xf86SetModeDefaultName(mode);
+--
+1.7.1
+