summaryrefslogtreecommitdiff
path: root/meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-30 22:10:02 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-30 22:10:02 +0000
commit0e937cbeb792e5df2975888b6f102a62d0b57126 (patch)
treeb61315810919fffb6a120e4880eebf9613a6e239 /meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
parent0eefd09740ae45e32223646066ded0bd8725c01d (diff)
downloadopenembedded-core-0e937cbeb792e5df2975888b6f102a62d0b57126.tar.gz
openembedded-core-0e937cbeb792e5df2975888b6f102a62d0b57126.tar.bz2
openembedded-core-0e937cbeb792e5df2975888b6f102a62d0b57126.tar.xz
openembedded-core-0e937cbeb792e5df2975888b6f102a62d0b57126.zip
Add xserver-kdrive-xomap
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1225 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch')
-rw-r--r--meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch b/meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
new file mode 100644
index 000000000..f87e7cc2c
--- /dev/null
+++ b/meta/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
@@ -0,0 +1,14 @@
+--- xserver/hw/kdrive/fbdev/fbdev.c~ 2004-09-15 00:08:10.000000000 +0100
++++ xserver/hw/kdrive/fbdev/fbdev.c 2004-11-13 17:47:02.000000000 +0000
+@@ -198,6 +198,11 @@
+ return FALSE;
+ }
+
++ /* Re-get the "fixed" parameters since they might have changed */
++ k = ioctl (priv->fd, FBIOGET_FSCREENINFO, &priv->fix);
++ if (k < 0)
++ perror ("FBIOGET_FSCREENINFO");
++
+ /* Now get the new screeninfo */
+ ioctl (priv->fd, FBIOGET_VSCREENINFO, &priv->var);
+ depth = priv->var.bits_per_pixel;