xf86-video-glamo: add missing patch
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 29 Jun 2010 15:24:45 +0000 (17:24 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 29 Jun 2010 15:24:45 +0000 (17:24 +0200)
recipes/xorg-driver/xf86-video-glamo/0001-glamo-output-initialize-mode-name-to-NULL.patch [new file with mode: 0644]

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 (file)
index 0000000..9595c60
--- /dev/null
@@ -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
+